Running Debian on a Tinker Board. Fresh installation. Following instructions here:
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
Everything is fine up until a2enmod cgi:
AH00526: Syntax error on line 18 of /etc/apache2/conf-enabled/zoneminder.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Your MPM seems to be threaded. Selecting cgid instead of cgi.
Module cgid already enabled
I have no clue what I could be missing.
zoneminder.conf:
########################
#
# Remember to enable cgi mod and serve-cgi-bin.conf configuration
#
# a2enmod cgi
# a2enconf serve-cgi-bin.conf
#
########################
ScriptAlias /cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options -Indexes +FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
1st time install: invalid command php_flag
Re: 1st time install: invalid command php_flag
That procedure was updated Friday night and I had no isues. I will run it again on a fresh install. Stay tuned...
Edit: Are you using the Tinker OS from the Asus web site?
Edit: Are you using the Tinker OS from the Asus web site?
Re: 1st time install: invalid command php_flag
Just ran the Zoneminder install on a fresh Debian 9.1.0 AMD64 with no errors. If you used the ARM package from Asus on the Tinker I suggest trying the ARM pacakage from the Debian netinst web site. Your error is not with Zoneminder.
Re: 1st time install: invalid command php_flag
Is there a reason to use 9.1 over 9.2?
I agree the problem is not with zoneminder, it is somehow with php and apache.
I agree the problem is not with zoneminder, it is somehow with php and apache.