Re: Fatal error: Call to undefined function: mysql_pconnect() in ...
| From: | Francis Fillion | Date: | Wed, 11 Jul 2001 20:07:14 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: mysql_pconnect() in ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57482@lists.php.net to get a copy of this message | ||
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: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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net To
> contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com