EDIT - I didn't have php5-cgi install. I can now see the ZM set up page ok, but apache is still looking for the wrong www root starting point.
===============================
I didn't have So I've taken the plunge and performed a fresh install of Ubuntu Gutsy 7.10 and ZM 1.23.1 by following the various how to's on this site.
Everything installed a like dream - however when I point my browser at localhost/zm I get the dreaded file not found error.
However pointing at localhost/ I can see html/ and munin/ and apache2 defaullt.
Clicking on html reveals zm/ clicking on that results in x-httpd-php being saved to disk.
I suspect my cgi files might be misplaced ?
Likewise I suspect I don't have something configured quite right in Apache.
apache2.conf makes no mention of where to find files and httpd.conf is empty.
The apache error log mentions file does not exist /var/www/zm or /var/www/favicon.ico - they're all in var/www/html/zm
Any suggestions ?
Thanks Tim
Fresh install on Gutsy Ubuntu - apache conf problem I think.
Re: Fresh install on Gutsy Ubuntu - apache conf problem I th
Clicking on html reveals zm/ clicking on that results in x-httpd-php being saved to disk.
[/quote]
I have the same problem. When I send the command line "sudo apache2ctl restart" I have this reply:
Sintax error on line 4 of /etc/apache2/conf.d/zoneminder.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start.
Please, help me (or us)
Thanks
[/quote]
I have the same problem. When I send the command line "sudo apache2ctl restart" I have this reply:
Sintax error on line 4 of /etc/apache2/conf.d/zoneminder.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start.
Please, help me (or us)
Thanks
Re: Fresh install on Gutsy Ubuntu - apache conf problem I th
did you solve this problem? i've this trouble. so help me too
I have the same problem. When I send the command line "sudo apache2ctl restart" I have this reply:
Sintax error on line 4 of /etc/apache2/conf.d/zoneminder.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start.
Please, help me (or us)
Thanks
Problem Solved
Hello everybody,
I also had trouble with this problem. What can I tell you? I managed to solve it.
As mentioned above you have to install php5-cgi. After installation use
to enable the module and finally
After doing so I could type in Firefox
and the entrance window appeared
Have fun, I hope the solution also works for you
I also had trouble with this problem. What can I tell you? I managed to solve it.
As mentioned above you have to install php5-cgi. After installation use
Code: Select all
sudo a2enmod php5
Code: Select all
sudo apache2ctl restart
Code: Select all
http://localhost/zm

Have fun, I hope the solution also works for you