Page 1 of 1

Fresh install on Gutsy Ubuntu - apache conf problem I think.

Posted: Mon Feb 18, 2008 10:10 pm
by timf
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

Re: Fresh install on Gutsy Ubuntu - apache conf problem I th

Posted: Sun Mar 16, 2008 9:52 am
by canros
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

Re: Fresh install on Gutsy Ubuntu - apache conf problem I th

Posted: Fri May 02, 2008 11:10 am
by sunucu

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
did you solve this problem? i've this trouble. so help me too

Problem Solved

Posted: Thu May 08, 2008 9:16 pm
by f.dingler
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

Code: Select all

sudo a2enmod php5
to enable the module and finally

Code: Select all

sudo apache2ctl restart
After doing so I could type in Firefox

Code: Select all

http://localhost/zm
and the entrance window appeared :lol:

Have fun, I hope the solution also works for you