I have a RedHat server running Apache, MySQL and PHP 4.0.6. PHP was installed before MySQL. When I run phpinfo() I see the config command '--without-mysql' listed.
I need to get MySQL support in PHP working ASAP. I am a newbie to Linux so please tell me step by step how to configure PHP for MySQL.
I have the PHP rpm (php-4.0.6.tar.gz)in a directory named /usr/local/downloads.
The php.ini file is in the /etc directory.
The extensions directory is /usr/lib/php4/.
The exectuable is in /usr/bin. The library files are in /usr/share/php/.
The webserver is up and running, MySQL is working and PHP scripts run but generate the error 'cannot load MySQL extension,
please check PHP Configuration.' if I try to access a MySQL database.
I hope that is enough information. Thanks in advance for your assistance.