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

Thu Feb 15 14:32:06 UTC 2007
ankush grover <ankushcentos at gmail.com>

On 2/15/07, dwisp at rumahweb.com <dwisp at rumahweb.com> wrote:
> 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
>

Yes, the line was missing, I already did this and changed the subject
line of my problem to (solved).

Anyway thanks for your guidance and help.

Thanks & Regards

Ankush Grover