sendmail replacement

January 27th, 2012 § 0 comments § permalink

If you’re looking for a a simple tool to replace sendmail on *nix systems, you might try mini_sendmail by Jef Poskanzer.  (Jef has written a number of excellent free software packages.)   So far this has been the best solution I’ve found to the problem of sending mail via PHP’s mail() function without requiring a bunch of unpleasant baggage.

iconv error running Apache and PHP

January 27th, 2012 § 0 comments § permalink

PHP Notice:  iconv() [<a href='function.iconv'>function.iconv</a>]: Wrong charset, conversion from `ISO-8859-1′ to `UTF-8′ is not allowed

I had a problem with Apache giving this error.  I found many posts from people with the same problem, but never a solution.  I happened to stumble on the problem with my set up recently.  I didn’t have the gconv (the glibc implementation of iconv) modules installed properly.  If you have this problem, check for a directory named gconv with files like ISO8859-1.so in it.