I am using Apache 2.2, MySQL 5.0.27, on a Linux RedHat 4 ES. There wasn't really any problem with Apache, MySQL or the OS, it was PHP. When I would try and create the PHP config using --with-mysql it would always error out saying the library wasn't there, even though it was (I did install the libraries and headers, plus the shared compatibility from the RPMs on MySQL).
I then thought this error was a MySQL problem, so I built my installation from source instead of using the RPMs, which still didn't help PHP out any. I tried creating symbolic links about everywhere I could think of that PHP would be looking for this library, but it didn't help.
Rolling back to PHP 4.4.4 though, I had no problems with the configure or make. It found the library no problem. Any help though upgrading to the latest PHP (I really don't like having and old version of PHP around) would be wonderful. Thanks!
~Ashley