Let me share my experience getting Zoneminder 1.29 to work on Raspberry Pi 2 Debian 8 (Jessy) API enable to work with zmNinja.
follow this wiki.
It will ask you to setup time zone, do the following:
Add timezone to php
Code: Select all
sudo nano /etc/php5/apache2/php.ini
Code: Select all
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/London
Code: Select all
sudo service apache2 restart
from*URL rewriting is not properly configured on your server...
edit apache zoneminder.conf
Code: Select all
sudo nano etc/apache2/conf-enabled/zoneminder.conf
Code: Select all
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
Code: Select all
a2enmod rewrite
Code: Select all
sudo service apache2 restart
Install php5-gd
Code: Select all
sudo apt-get install php5-gd
Code: Select all
sudo chown -R www-data:www-data /usr/share/zoneminder/www/api
Code: Select all
sudo service apache2 restart
sudo service zoneminder restart