Re: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

From: Date: Thu, 12 Aug 2004 22:24:03 +0000
Subject: Re: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-193659@lists.php.net to get a copy of this message
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" <esammons@vt.edu> To: "Jay Blanchard" <jay.blanchard@niicommunications.com>; "php-general" <php-general@lists.php.net> 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
     
<jay.blanchard@niicommunications.com> =====
[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


« previous php.general (#193659) next »