Page 1 of 1

Call to undefined function mysql_pconnect()

Posted: Thu Jul 20, 2006 6:50 pm
by DiegoLima
Hello, I managed to compile zoneminder from source and install it on my system, however when I access http://localhost/zm I get this error:

Code: Select all

Fatal error: Call to undefined function mysql_pconnect() in /var/www/zm/zm_db.php on line 21
I am using Ubuntu 6.06 (dapper), apache 2, mysql-server 5.0.22 and php5.

Posted: Thu Jul 20, 2006 8:58 pm
by acrid
did you install the phpX-mysql package?

Posted: Thu Aug 31, 2006 6:28 am
by chippy99
I had same problem and it was fixedby removing semi-colon from in front of
extension=mysql.so in php.ini.
On ubuntu php.ini is located in /etc/php5/apache2 directory.

Call to undefined function mysql_pconnect()...php on line 21

Posted: Tue Sep 26, 2006 12:25 pm
by trustf8
Check if you have installed all modules which interact php , apache, mysql
apache*-mod-php*
php*-mysql
....