Can anyone lend a hand w/ my apache config?

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
roflwaffle
Posts: 2
Joined: Sun Aug 10, 2008 10:11 am

Can anyone lend a hand w/ my apache config?

Post by roflwaffle »

So far everything seems to have gone well, installed zm, changed all the config files specified after install, and I've changed the user/group and permissions so that zm runs w/ apache's user. The problem is, it looks like the php functions in the zm http directory aren't executing properly. Does anyone have any pointers/advice?

There isn't anything suspicious about the zm or httpd logs, just the usual server staring, zm* starting, etc... I'm on arch and I've modified zend.ze1_compatibility_mode=On in php.ini and the mysql module loaded, populated the mysql database, and did a few others things the terminal told me to do. ;) Here's what I've changed in httpd.conf so far.

Code: Select all

Alias /zm /home/httpd/html/zm

<Directory>
  Options All
  AllowOverride All
  Order allow,deny
  Allow from all
<IfModule>
    <IfModule>
        DirectoryIndex index.php index.html
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
    </IfModule>
    DirectoryIndex index.html
</IfModule>
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

follow the advice in the following topic http://www.zoneminder.com/forums/viewtopic.php?t=10542

this should solve your problem.

hope this helps
Image
roflwaffle
Posts: 2
Joined: Sun Aug 10, 2008 10:11 am

Post by roflwaffle »

I changed that initially, but it appears that there were two instances in the config file and they both had to be 'On'. Thanks a bunch! :D

Code: Select all

cat /etc/php/php.ini | grep short_open_tag
; - short_open_tag = Off           [Portability]
short_open_tag = On
short_open_tag = Off
Post Reply