[CentOS] unable to run php application on centos4.0

Thu Feb 15 13:40:52 UTC 2007
dwisp at rumahweb.com <dwisp at rumahweb.com>

On Thu, February 15, 2007 7:51 pm, ankush grover wrote:
> Php is installed on the system and in the httpd.conf file I have added
> index.php for Directory Index but whenever I try to access the blog i
> get the contents of the file and php is not executing.
>
> The permissions on the directory under /var/www/html/blog is set to
> 777 but still the problem is persisting.

Maybe you should add this line at httpd.conf:

AddType application/x-httpd-php .php


Dwi Suharto
--------------------------
Technical Support Rumahweb
http://www.rumahweb.com