RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in ...
| From: | scott [gts] | Date: | Wed, 11 Jul 2001 19:59:47 +0000 |
| Subject: | RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57480@lists.php.net to get a copy of this message | ||
perhaps they didnt compile PHP with mysql support...
> -----Original Message-----
> From: Matthew Loff [mailto:matt@willetts.com]
> Subject: RE: [PHP] Fatal error: Call to undefined function:
> mysql_pconnect() in ...
>
> Have you tried a non-persistant connection? Does that work?
>
> mysql_connect()?
>
>
> -----Original Message-----
> From: Tom Beidler [mailto:tom@orbittechservices.com]
> 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