** Description changed:

- I upgraded (fresh installation) my ubuntu server from 13.04 to 13.10.
+ I done a fresh installation of ubuntu server 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.
+ 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 provieded in ubuntu 13.10.
- I think Apache and PHP
+ 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/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
+     # Include all the user configurations:
+     Include /etc/apache2/httpd.conf
  
  5. edit\make /etc/apache2/httpd.conf:
  
-     ServerName localhost
+     ServerName localhost
  
- is possible add "ServerName localhost" directly in apache2.conf.
+ Is also possible add "ServerName localhost" directly in apache2.conf.
  
- ______ SOURCE: ZoneMinder Forum ______
+ _________________________________________
  
  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
+     short_open_tag = Off
  
-     This value needs to be set to On
+     This value needs to be set to On
  
-     sudo nano /etc/php5/php.ini
+     sudo nano /etc/php5/php.ini
  
-     find the short_open_tag = Off and change it to On
+     find the short_open_tag = Off and change it to On
  
-     Ctrl +o to save the file
-     Ctrl +x to exit
+     Ctrl +o to save the file
+     Ctrl +x to exit
  
-     /etc/init.d/apache2 force-reload
+     /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.

-- 
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

Reply via email to