summarylogtreecommitdiffstats
path: root/zoneminder.install
diff options
context:
space:
mode:
authorTroy Will2016-01-10 15:33:56 -0800
committerTroy Will2016-01-10 15:33:56 -0800
commit91cf6ced3d61ae5452951d24d66dcf1accbc3a4f (patch)
treee137e0c0a56e527a4b75327948014ea1d80b705d /zoneminder.install
parentea3d571111665ca2ab836386b4914b1f66733712 (diff)
downloadaur-91cf6ced3d61ae5452951d24d66dcf1accbc3a4f.tar.gz
httpd-zoneminder.conf: PHP7
zoneminder.install: PHP7
Diffstat (limited to 'zoneminder.install')
-rw-r--r--zoneminder.install18
1 files changed, 9 insertions, 9 deletions
diff --git a/zoneminder.install b/zoneminder.install
index acfd93463514..d16779e3b25e 100644
--- a/zoneminder.install
+++ b/zoneminder.install
@@ -23,11 +23,11 @@ post_install() {
# Zoneminder needs Apache configured to permit CGI execution
\|^\t#LoadModule cgi_module modules/mod_cgi.so$| s|\t#|\t|;
- # libphp5
- \|^LoadModule php5_module modules/libphp5.so$|d;
- s|^#*LoadModule rewrite_module modules/mod_rewrite.so$|&\nLoadModule php5_module modules/libphp5.so|;
- \|^Include /etc/httpd/conf/extra/php5_module.conf|d;
- s|^Include conf/extra/httpd-default.conf$|&\nInclude /etc/httpd/conf/extra/php5_module.conf|;
+ # libphp7
+ \|^LoadModule php7_module modules/libphp7.so$|d;
+ s|^#*LoadModule rewrite_module modules/mod_rewrite.so$|&\nLoadModule php7_module modules/libphp7.so|;
+ \|^Include /etc/httpd/conf/extra/php7_module.conf|d;
+ s|^Include conf/extra/httpd-default.conf$|&\nInclude /etc/httpd/conf/extra/php7_module.conf|;
# Include httpd-zoneminder.conf
\|^Include /etc/httpd/conf/extra/httpd-zoneminder.conf$|d;
@@ -66,9 +66,9 @@ post_install() {
Apache configuration
--------------------
Edit /etc/httpd/conf/httpd.conf and add the line:
- "LoadModule php5_module modules/libphp5.so"
+ "LoadModule php7_module modules/libphp7.so"
and:
- "Include /etc/httpd/conf/extra/php5_module.conf"
+ "Include /etc/httpd/conf/extra/php7_module.conf"
"Include /etc/httpd/conf/extra/httpd-zoneminder.conf"
EOF
@@ -105,8 +105,8 @@ Note:
==> Disable http with php if it isn't needed with others servers,
==> comment or remove that lines in /etc/httpd/conf/httpd.conf:
-==> "LoadModule php5_module modules/libphp5.so"
-==> "Include /etc/httpd/conf/extra/php5_module.conf"
+==> "LoadModule php7_module modules/libphp7.so"
+==> "Include /etc/httpd/conf/extra/php7_module.conf"
==> Remove line in /etc/httpd/conf/httpd.conf:
==> "Include /etc/httpd/conf/extra/httpd-zoneminder.conf"