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
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Sun Cobalt Support by Zeffie.com
Zeffie's Sun Cobalt User Forums
A Sun Cobalt Support Specialist Since 1999
Sun Cobalt Support, Repairs, Development, and Maintenance.
Home of the Worlds Largest Collection of Sun Cobalt Updates!
Sun Cobalt Spam Filter, Security, Firewall, Anti Virus Products.
Voip 734-454-9117 At&t 734-454-0818 US Toll Free 800-231-4459 UK 0208-150-6860
Zeffie's Sun Cobalt Restore CD's
Zeffie's Sun Cobalt Updates
Sun Cobalt Users List
Sun Cobalt Security List
Sun Cobalt Developers List
Copyright 2009 by Electronic Consultants Inc.