Page 1 of 1
ZM fresh install on FC4
Posted: Fri Jul 01, 2005 12:09 pm
by stresshead
I've just installed ZM latest version onto a fresh install of Fedora Core 4. After a few teething troubles I've managed to get the zm service started without errors but when i try to view trhe zm page, i just get a blank page and no option to add monitors etc. Can anybody shed any light on this for me.
My /var/log/httpd/error_log has the following lines:
[client 172.31.3.43] PHP Fatal error: Call to undefined function mysql_pconnect() in /var/www/html/zm/zm_db.php on line 21
[Fri Jul 01 13:29:27 2005] [error] [client 172.31.3.43] File does not exist: /var/www/html/favicon.ico
Cheers in advance,
Lee
Posted: Fri Jul 01, 2005 2:13 pm
by zoneminder
Have a look at
this thread.
Phil
Posted: Mon Jul 04, 2005 9:39 am
by stresshead
Sorted...well sort of. I have now got the zoneminder service running but when i connect to the webpage, the status at the top lists as STOPPED. If I click on this and try and start this, it appears to make changes but never changes the status and no error appears in the httpd logs. The stranger thing is, zoneminder is actually working, I have 1 monitor ser up and I can access it. Any ideas anyone?
Cheers,
Lee.
Posted: Mon Jul 04, 2005 12:07 pm
by cordel
FC4 is using PHP5 and MySQL4, You need to configure php to be capatable with the zend1 engine.
Regards,
Cordel
Posted: Fri Nov 25, 2005 3:45 am
by proxorp
Thanks Cordel,
Your previous post just solved 4 hrs of agonizing debug. Everything was running perfect on the server side, but client side wouldn't show correct status (Zoneminder Running/Stopped/ etc...).
The simple fix:
Ensure /etc/php.ini has this line set to On.
Code: Select all
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On
FYI, I'm running:
Fedora Core 4 2.6.14-1.1637_FC4
MySQL version 4.1.11
Apache 2.0.54
ZM v1.21.4
Hopefully others will find the post sooner than I did.
David.
Posted: Fri Nov 25, 2005 3:30 pm
by zoneminder
Thanks for letting us know. This sort of thing is useful for when people do searches before asking, which does happen sometimes
Phil