zoneminder apache\php problems in 13.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zoneminder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I done a fresh installation of ubuntu server 13.10.
I don't know why zoneminder was not updated, in the ubuntu sources, to newer version 1.26, but i think it will have the same problems.
The main web page of zoneminder won't work. there are some problems with the new packages provided 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/
3. sudo ln -s /etc/zm/apache.conf /etc/apache2/
4. edit /etc/apache2/
# Include all the user configurations:
Include /etc/apache2/
5. edit\make /etc/apache2/
ServerName localhost
Is also possible add "ServerName localhost" directly in apache2.conf.
_______
For fix the main page i found this:
(but there are other things that won't work)
_______ SOURCE: ZoneMinder Forum _______
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/
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/
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1247506/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]