Re: unable to run php application on centos4.0

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



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

_______________________________________________
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