Results 1 to 2 of 2
Hi all,
I got Redhat9 installed on my server with an aim to support Apache Triad. Since the package already comes with php4.2.2/ Apache2.040 / MySql3.23.54a. Everything seems to be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-22-2004 #1Just Joined!
- Join Date
- Jul 2004
- Posts
- 3
php cant connet to mysql host
Hi all,
I got Redhat9 installed on my server with an aim to support Apache Triad. Since the package already comes with php4.2.2/ Apache2.040 / MySql3.23.54a. Everything seems to be okey except php/mysql connectivity, the error message I got from phpMyAdmin was that php seemed unable to load the 'mysql.so' from the system.
I then tried to locate this mysql.so, I got this from the perl5 folder and have it copied to this directory 'extension=/usr/lib/php4/' but that doesnt help at all.
Also, from the php test script, I saw --with mysql=share,/usr. Does it mean that mysql already complied and should be working well with php without the need to dynamically load the mysql.so.
Can someone help to advise if anything is missed out to get it works?
Thanks in advance.
Newbie to Linux/Kennethckk
- 07-23-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
scrap what you have, most of the software is already out of date with security issues.
Some good instructions for setting up apache, mysql and php are here:
http://www.brtnet.org/linux/lamp.htm
Jason


Reply With Quote
