Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified that I can in fact access mysql and that I have the necessary database and that the user, password, and host are setup correctly in db_fns.php. It seems; however, that I still receive the given error:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6
I have verified that I have installed the php-mysql rpm. I have also tried mysql_connect and mysql_pconnect. I have checked to ensure that php.ini includes the necessary extensions and that phpinfo shows mysql as a supported database.
Anyone have any ideas on what to try next or how to resolve this issue?
Make a php info page, look at it thru your browser via the webserver, and check to make sure MySQL is in there.
Also, if you didn't restart Apache after installing the php-mysql rpm, you will need to do that.
Best solution, ditch the rpm's and install from source. ;)
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php