Did you try a 
<?php  phpinfo(); ?>

to see if mysql is compiled in

Matthew Loff wrote:
> 
> Have you tried a non-persistant connection?  Does that work?
> 
> mysql_connect()?
> 
> -----Original Message-----
> From: Tom Beidler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 3:12 PM
> To: php list
> Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
> in ...
> 
> I'm working with an new ISP and I'm having trouble connecting to MySQL
> through PHP 4.
> 
> Here's some server specifics;
> PHP Version 4.0.4pl1
> Apache/1.3.14
> 
> DBA support    enabled
> Supported handlers    gdbm db2 db3
> 
> I'm getting the following error;
> 
> Fatal error: Call to undefined function: mysql_pconnect() in /home/...
> on line 5
> 
> Line 5 is;
> 
> $connection = mysql_pconnect("localhost","myuserid","mypass")
> 
> It's a new box so I'm assuming it's something in the configuration. I
> don't have access to the server so I'm trying to troubleshoot for the
> ISP. Any help would be greatly appreciated.
> 
> Thanks,
> Tom
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] To
> contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to