php not processed

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

php not processed

Post by bhomass »

I have another problem with my apache setup. when I point to index.php in the zm html directory, instead of displaying the page like before, the browser wakes up the download or open dialog, asking what application to run for the php file.

I know I installed php package for my Debian system. does some one know what causes php to not be executed on the server?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

try creating this file in that directory info.php and place the following in it.

Code: Select all

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