note 21906 deleted from ref.mysql by aidan
| From: | aidan@php.net | Date: | Sun, 15 Aug 2004 11:06:50 +0000 |
| Subject: | note 21906 deleted from ref.mysql by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74690@lists.php.net to get a copy of this message | ||
Note Submitter: pvenable at cs dot cmu dot edu
----
I had some difficulties installing PHP with MySQL support on RedHat-7.1, but it works at last. :)
Here are a few of the unexpected things I had to do to get it working:
After installing apache, mysql, and php4, I found a php-mysql rpm, since the php4 rpm lacks MySQL
support. (I also had to find a few more rpms before this one would install.) Then, I had to make
sure and export the path of the library libgcc_s.so (export LD_LIBRARY_PATH=/usr/local/lib) before
running the Apache httpd. Otherwise PHP fails to load the MySQL library, which apparently depends
on libgcc_s.so, but doesn't give much useful feedback except that the MySQL-specific commands
you're using are unrecognized. I hope this saves someone else from going through the hours of
hassle it took me to figure it out!