web interface does not work :-(
web interface does not work :-(
Hello,
I have installed a debian distribution (c't VDR 6) and installed zm as described here http://www.zoneminder.com/wiki/index.ph ... .1_install.
The installation worked fine, untill I tried to access the webinterface.
With http://debian i can see the index of/ page: apache2-default/ works but by clicking zm/, I get a php-file to download.
Who can help me?
PS: I found this post http://www.zoneminder.com/forums/viewtopic.php?t=9767, but "ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf" has no effect.
I have installed a debian distribution (c't VDR 6) and installed zm as described here http://www.zoneminder.com/wiki/index.ph ... .1_install.
The installation worked fine, untill I tried to access the webinterface.
With http://debian i can see the index of/ page: apache2-default/ works but by clicking zm/, I get a php-file to download.
Who can help me?
PS: I found this post http://www.zoneminder.com/forums/viewtopic.php?t=9767, but "ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf" has no effect.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ok then use the ip of the machine not debian in case its that, but fault finding will be hard without x
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
@jameswilson: I used the IP, "debian" is just a placeholder...
@Laevi: thats right, I want to use the webinterface with another computer in the network.
Fot better understanding: I typed the ip in the webbrowser of the client and I get the "index of/" directory with 2 folders: "apache2-default/" and "zm/". when clicking the "apache2-default/" I get a html-page with text "it works", when clicking "zm/" a window pops up for downloading the php-file to the disk.
The apache-server works, but without php. php4 is installed. How can I activate php?
@Laevi: thats right, I want to use the webinterface with another computer in the network.
Fot better understanding: I typed the ip in the webbrowser of the client and I get the "index of/" directory with 2 folders: "apache2-default/" and "zm/". when clicking the "apache2-default/" I get a html-page with text "it works", when clicking "zm/" a window pops up for downloading the php-file to the disk.
The apache-server works, but without php. php4 is installed. How can I activate php?
http://packages.debian.org/etch/php4-mysql for php4.
just make, make test and make install should do it.
just make, make test and make install should do it.
Why should I do this? I installed php4-mysql with apt-get...Laevi wrote:http://packages.debian.org/etch/php4-mysql for php4.
just make, make test and make install should do it.
And how? I unpacked "php4_4.4.4.orig.tar.gz" but there is no make-file. I am Sorry, but I am a linux beginner
so what is your problem if you installed php?
just use a browser and go to http://ip-adress/zm and you should be in (if no errors occur in your php).
just use a browser and go to http://ip-adress/zm and you should be in (if no errors occur in your php).
php does not work, the php-file is not executet by the server, I only can download the php-file.Laevi wrote:so what is your problem if you installed php?
just use a browser and go to http://ip-adress/zm and you should be in (if no errors occur in your php).
You should try this advice given by cordel on another topic:
try creating this file in that directory info.php and place the following in it.
Code:
<?PHP
phpinfo();
?>
then try to bring it up in a browser http://<yourhost>/zm/info.php
You should see your php configuration. If not then something is not properly configured in either apache or PHP.
Make sure the php module is being loaded correctly by apache and check your php.conf and php.ini
Regards,
Cordel
Try installing it from a .deb instead. I think you have your dependencies missing. http://www.zoneminder.com/wiki/index.ph ... rom_a_.deb
debian install
I just installed 1.22 on debian as well.
There was no zm directory in the /var/www directory, as it should be, but was installed in /usr/share/zoneminder instead.
Just do: ln -s /usr/share/zoneminder /var/www/zm
then open http://yourhost/zm/index.php
There was no zm directory in the /var/www directory, as it should be, but was installed in /usr/share/zoneminder instead.
Just do: ln -s /usr/share/zoneminder /var/www/zm
then open http://yourhost/zm/index.php