[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



This code:
<?php
$link = mysql_connect("localhost", "user", "password") or die ("Could not 
connect");
print("Connected successfully");
mysql_close($link);
?>
generates the error above.  It's like MySQL is not compiled with PHP 
support anymore even though phpMyAdmin still works.  phpinfo() ./configure 
shows '--with-mysql=shared'

Installing the new pkg did not seem to update/timestamp the 
/etc/httpd/php.ini file.  As per the archives relating to the error msg 
above, I added "extension=mysql.so" to the ini file which wasn't there before (when the app worked) but it 
made no difference.  The ini directive "extension_dir = /usr/lib/apache/php" is correctly pointing to a brand new (8/2/01) mysql.so file.  Rebooting 
the RaQ4r from the GUI also had no effect. 
Is there possibly another configuration file that was updated with/by the 
new 4.0.6 pkg that phpMyAdmin is able to ignore but "connect"s from a 
simple test prog gets messed up?  I am using MySQL 3.23.37 installed from RaQ3-RaQ4-MySQL-3.23.37-1.pkg.  Would you think re-installing the MySQL pkg might make a difference? 
Seems drastic.

The above all happened in the span of about 15 minutes on a lightly used 
box where there are no other admin's besides myself.  The box is mostly 
vanilla with all patches.  Any ideas?

Thanks,
Kim