Call to undefined function: mysql_pconnect()

Alexander Dalloz ad+lists at uni-x.org
Thu Jun 23 13:56:04 UTC 2005


Am Do, den 23.06.2005 schrieb Cameron Beattie um 6:04:

> I'm not sure if this is the appropriate list to ask this question, however 
> ...
> 
> I am running FC2. I get the following message in the apache log file: 
> [client 192.168.0.15] PHP Fatal error:  Call to undefined function: 
> mysql_pconnect()
> I think everything is installed correctly:
> rpm -q php-mysql
> php-mysql-4.3.10-2.4
> rpm -q httpd
> httpd-2.0.51-2.9
> rpm -q php
> php-4.3.10-2.4
> 
> phpinfo()
> dbx
> dbx support enabled
> dbx version 1.0.0
> supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase 
> Oracle 8 (oci8) Sybase-CT
> Configure Command '--with-mysql=shared,/usr'
> 
> mysqld is running

> Cameron 

The important part in the phpinfo() output is the "mysql" section. There
it has to say "mysql.allow_persistent On" (allowed by default in
/etc/php.ini).

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp 
Serendipity 15:53:43 up 2 days, 8 users, load average: 0.46, 0.18, 0.09 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050623/42796285/attachment-0001.sig>


More information about the fedora-list mailing list