Re: unable to run php application on centos4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2/15/07, dwisp@xxxxxxxxxxxx <dwisp@xxxxxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux