PHP not connecting to MySQL while installing PostNuke
Rob Schumann
yellowdog-general@lists.terrasoftsolutions.com
Sat Jun 29 03:29:01 2002
Hi,
Having tried all that you have, where is mysql.so on your system...?
It either has to be moved to the /var/lib/php4 directory, along with other libraries such as ldap.so and so on... OR
the extensions_dir in php.ini has to be changed to point to whatever directory on your system contains mysql.so.
You should also check whether php was configured with mysql. The default YDL install IS so configured, but better to check... creat a test.php file on your server root that contains the following
<?php
phpinfo();
?>
When you view this in a browser by pointing it at
localhost/test.php
The first tabel contains php configuration information... If this contains --with-mysql or --with-mysql=/some/path then all is well with the php side of things... it's just not finding the mysql.so.
Hope that helps
Rob