3 ## arg 1: the new package version
8 ## arg 1: the new package version
10 chown http.http /var/lib/zm/www/events
11 chown http.http /var/lib/zm/www/images
12 chown http.http /var/lib/zm/www/temp
13 chown http.http /etc/zm.conf
17 ==> To initialize the ZoneMinder database run (as root)
23 ==> Check /etc/php/php.ini and make sure these are uncommented
25 ==> extension=gettext.so
26 ==> extension=mcrypt.so
27 ==> extension=mysql.so
28 ==> extension=mysqli.so
29 ==> extension=session.so
30 ==> extension=sockets.so
34 ==> Check /etc/php/php.ini and make sure short_open_tag = On
38 cat /etc/php/php.ini |grep "^open_basedir.*/etc/" | \
39 grep "/var/lib/zm/www">/dev/null || cat << EOF
40 ==> You must edit /etc/php/php.ini and add to open_basedir "/etc/" and
41 ==> "/var/lib/zm/" like so
42 ==> open_basedir = /home/:/tmp/:/usr/share/pear/:/etc/:/var/lib/zm/
43 ==> Otherwise ZoneMinder will be unable to read /etc/zm.conf
44 ==> or display its own web directory
50 ==> You must edit /etc/httpd/conf/httpd.conf and uncomment/add the line
51 ==> LoadModule php5_module modules/libphp5.so
52 ==> You must also add these lines:
53 ==> Include conf/extra/php5_module.conf
54 ==> Include /etc/httpd/conf/extra/httpd-zm.conf
57 touch /var/lib/zm/zm_backup.sql
61 ## arg 1: the new package version
62 ## arg 2: the old package version
67 ## arg 1: the new package version
68 ## arg 2: the old package version
70 /usr/bin/zmupdate.pl -f >/dev/null
72 ## arg 1: the old package version
77 ## arg 1: the old package version
82 # vim:set ts=2 sw=2 et: