Page 1 of 1

mysql_pconnect() setup problem

Posted: Tue May 30, 2006 5:47 pm
by byte
Using the latest version of ZM and SuSE 10.0 I've already built one and following (which has changed but I can only remeber then svr to srv being changed)

I now get error on login on to localhost/zm.php

Fatal error: Call to undefined function: mysql_pconnect() in /srv/www/htdocs/zm_db.php on line 21

I'm sure it's something I've done but can't think what as the first time I used this how to...

http://www.zoneminder.com/forums/viewto ... 86&start=0

It worked fine, everything works fine in ZM, thanks for any pointers?

Posted: Tue May 30, 2006 9:50 pm
by byte
Well I don't know why this did not start this time :? but I found the change I needed, so here it is if anyone else get's into this, I found I needed to enable...

In your php.ini:

[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On

The default is Off but I don't get why this didn't happen on my first install all very confused but least it's working now after hours of figuring LOL

Posted: Thu Jun 01, 2006 3:55 pm
by zoneminder
Thanks for posting the fix.