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
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil