mysql_pconnect() setup problem

Support and queries relating to all previous versions of ZoneMinder
Locked
byte
Posts: 39
Joined: Mon May 22, 2006 3:02 pm
Location: Sunny Essex in UK

mysql_pconnect() setup problem

Post 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?
byte
Posts: 39
Joined: Mon May 22, 2006 3:02 pm
Location: Sunny Essex in UK

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks for posting the fix.
Phil
Locked