Hello,

I have been struggling a few days now trying to get all these compnenets to work together. I think I've narrowed it down to PHP not installing the MySQL option, even though I use --with-mysql=/var/lib/mysql --with-libdir=/usr/lib64/ It seems to configure alright and the make and make install have no errors, but I still can't connect to a MySQL database nor can I see MySQL when I run phpinfo() script. Any help with this problem would be greatly appreciated. Thanks!

~Ashley :o

    5 days later

    I gave up on PHP 5.2.0 and instlled PHP 4.4.4 instead. Everything works great now. Thanks!
    ~Ashley

      i would reconsider

      4 is going the wayside as hosts are migrating to 5.x.x and then of course 6.x.x

      what linux OS are u using? ive installed A.M.P on enough linux machines where i think i can help you

        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

          Write a Reply...