PHP/mysql failure: Can't find mysql_pconnect
Paul Duffy
odubtaig at yahoo.co.uk
Sat Jun 19 00:12:20 UTC 2004
On Saturday 19 Jun 2004 01:22, Bert Buckley - Uniq Software/Systems wrote:
> I have installed Fedora Core 1, including apache, php, and mysql.
>
> The apache daemon starts (I fixed the startup bug mentioned in
> an earlier posting) and it begins with no problem. I have built
> an httpd.conf file with some virtual hosts, and all is well...
> except when I access a php script that tries to access a mysql
> db. I can access the db from the command line with no problem.
>
> The precise error is
>
> PHP Fatal error: Call to undefined function: mysql_pconnect() in...
This would be due to MySQL now using the LGPL which makes it incompatible for
distribution with a GPL distribution like Fedora. There is, I believe, now an
exception clause specifically for PHP/MySQL but you'll have to get it from
http://www.php.net/
regards, Paul
More information about the fedora-list
mailing list