Public bug reported:
I upgraded (fresh installation) my ubuntu server from 13.04 to 13.10.
I don't know why zoneminder was not updated to 1.26 in the ubuntu
sources, but i think it will have the same problem.
The main web page of zoneminder won't work. there are some problems with the
new packages provieded in ubuntu 13.10.
I think Apache and PHP
The easy way to see it is:
1. sudo apt-get install zoneminder
2. sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf
3. sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
4. edit /etc/apache2/apache2.conf:
# Include all the user configurations:
Include /etc/apache2/httpd.conf
5. edit\make /etc/apache2/httpd.conf:
ServerName localhost
is possible add "ServerName localhost" directly in apache2.conf.
______ SOURCE: ZoneMinder Forum ______
For fix the main page i found this:
The issue is in the php.ini file and is a value called
short_open_tag = Off
This value needs to be set to On
sudo nano /etc/php5/php.ini
find the short_open_tag = Off and change it to On
Ctrl +o to save the file
Ctrl +x to exit
/etc/init.d/apache2 force-reload
The error log indicates a php error the function mysql_pconnect was
depriciated in php 5.x.x and my Ubuntu installed php 5.5.3
changing the short_open_tag does present the zm page but I still get the
mysql_pconnect message in the error log. I traced the mysql_pconnect
line to /usr/shared/zoneminder/includes/database.php where it is the
statement that makes a persistent connection to the database. If the
command mysql_pconnect was depriciated in PHP 5.5 then I assume we are
not getting a connection to the database. I also changed the
mysql_pconnect command with the new mysqli_connect in 13.10 and the
recieved a database select error on the page. I am sure it taks more
than just replacing the command in database.php but that is beyond my
skill set right now.
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: apache php zoneminder
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1247506
Title:
zoneminder apache\php problems in 13.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1247506/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs