The issue was resolved by building my own version of PHP. It seems that Red Hat EL 3.0 AS does not ship with a copy of MySQL server so I installed an RPM from MySQL's web site. Everything installed in the appropriate locations, /usr. It seems though that was not good enough for the Red Hat version of PHP.

Thank you!



Brad Bonkoski wrote:

try restarting apache.
if mysql were not running they would see a mysql error, not a PHP error
saying the function is not defined.

Is is something to do with how mysql is built into PHP and how PHP interacts
with apache, so if all else fails, try rebuilding PHP.

-B

----- Original Message ----- From: "Eric L. Sammons" <[EMAIL PROTECTED]>
To: "Jay Blanchard" <[EMAIL PROTECTED]>; "php-general"
<[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 3:49 PM
Subject: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in /var/www/html/includes/db_fns.php on line 6





I have started mysql, all is working (when I use the mysql client).




===== Original Message From Jay Blanchard


<[EMAIL PROTECTED]> =====


[snip]
I have done phpinfo and I see --with-mysql=shared,/usr
[/snip]

Have you started the mysql daemon?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to