diff options
Diffstat (limited to 'zoneminder.install')
-rw-r--r-- | zoneminder.install | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/zoneminder.install b/zoneminder.install index e890c604834b..edc233de602f 100644 --- a/zoneminder.install +++ b/zoneminder.install @@ -10,7 +10,7 @@ post_install() { \|^;extension=pdo_mysql.so$| s|^;||; \|^;extension=sockets.so$| s|^;||; \|^;extension=zip.so$| s|^;||; - ' /etc/php/php.ini > /etc/php/php.ini.zoneminder + ' /etc/php/php.ini > /tmp/php.ini.zoneminder # edit /etc/httpd/conf/httpd.conf for Zoneminder sed -e ' @@ -29,7 +29,7 @@ post_install() { # Include httpd-zoneminder.conf \|^Include /etc/httpd/conf/extra/httpd-zoneminder.conf$|d; s|^# Server-pool management (MPM specific)$|\nInclude /etc/httpd/conf/extra/httpd-zoneminder.conf\n&|; - ' /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.zoneminder + ' /etc/httpd/conf/httpd.conf > /tmp/httpd.conf.zoneminder cat << EOF @@ -48,7 +48,7 @@ post_install() { PHP configuration ----------------- - * Check and make sure these are uncommented in /etc/php/php.ini: + * Check and make sure these are uncommented in /etc/php/php.ini: extension=ftp.so extension=gd.so extension=gettext.so @@ -57,8 +57,6 @@ post_install() { extension=pdo_mysql.so extension=sockets.so extension=zip.so - * Add /etc/zm.conf, /srv/http/zoneminder, /var/cache/zoneminder, and /srv/zoneminder/socks to open_basedir in the zoneminder vhosts configuration file in apache: - php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/zm.conf:/srv/http/zoneminder/:/var/cache/zoneminder/:/srv/zoneminder/socks/:/var/log/zoneminder/" * Set your timezone in php.ini: date.timezone = <your_country>/<your_city> @@ -111,13 +109,15 @@ Note: ==> Disable php with mysql if it isn't needed with others servers, ==> comment that lines in /etc/php/php.ini: -==> "extension=mysql.so" -==> "extension=gd.so" -==> "extension=gettext.so" -==> "extension=mcrypt.so" -==> "extension=mysqli.so" -==> "extension=sockets.so" -==> "date.timezone = <my_country>/<my_city>" + # extension=ftp.so + # extension=gd.so + # extension=gettext.so + # extension=mcrypt.so + # extension=openssl.so + # extension=pdo_mysql.so + # extension=sockets.so + # extension=zip.so + # "date.timezone = <my_country>/<my_city>" ==> Remove log files and "zoneminder" directory in "/var/log/zoneminder". |