Ubuntu 13.10 - Apache 2.4 with Zoneminder configuration changes

From ZoneMinder Wiki
Jump to navigationJump to search

This is an initial "fix" for those of you wanting to use Ubuntu 13.10. These fixes apply to both the ZM 1.25.0 from the Ubuntu distribution and the 1.26.4 from the Launchpad ppa area.

Note: this has been modified after I got Ubuntu 14.04 to work with the Ubuntu ZM package 1.26.5. I tested 13.10 with ZM 1.25.0 successfully and even upgraded to 14.04 with ZM 1.26.5!

For Ubuntu 13.10

Create a directory in apache2

mkdir /etc/apache2/conf.d

Create two symbolic links

ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf


When you try to access the ZM web page you get a blank screen.

The issue is in the php.ini file and is a value called:

short_open_tag = Off

This value needs to be set to On

sudo nano /etc/php5/apache2/php.ini

find the short_open_tag = Off and change it to On

Ctrl +o to save the file Ctrl +x to exit

CGI is not enabled in Ubuntu 13.10 by default. Enable it this way:

sudo a2enmod cgi

Now reload Apache:

/etc/init.d/apache2 force-reload

and now you should see the ZM page!

Better yet, install Ubuntu 14.04 which will give you ZM 1.26.5 http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.26.5_the_easy_way