Page 1 of 1

php not processed

Posted: Sun Nov 13, 2005 3:12 am
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?

Posted: Sun Nov 13, 2005 4:03 am
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