Call to undefined function mysql_pconnect()

Support and queries relating to all previous versions of ZoneMinder
Locked
DiegoLima
Posts: 11
Joined: Thu May 11, 2006 5:00 pm
Location: Santos, SP - Brazil
Contact:

Call to undefined function mysql_pconnect()

Post 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.
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

Post by acrid »

did you install the phpX-mysql package?

Code: Select all

$> man woman
$> Segmentation fault (core dumped)
chippy99
Posts: 66
Joined: Wed Aug 30, 2006 5:38 pm
Location: Barnet, Herts. UK

Post 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.
trustf8
Posts: 1
Joined: Tue Sep 26, 2006 12:21 pm

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

Post by trustf8 »

Check if you have installed all modules which interact php , apache, mysql
apache*-mod-php*
php*-mysql
....
Locked