Running RH linux 7.3 with included Apache 1.3.23 and PHP 4.1.2. Installed RPM MySQL 3.23.49. PHP seems to work fine as does MySQL.
phpinfo() shows configure command that includes:
'--with-mysql=shared,/usr'
It also shows support for MySQL.
When I try the following code:
if(!extension_loaded('mysql')) {
echo('<b>Mysql extension not loaded. Aborting.</b>');
exit;
I always get the error message that the extensions are not loaded and cannot access the DB. I am lost as to what needs to be changed because PHP 4.x is suppose to provide direct support for MySQL.
Any ideas?
Joe