Thursday, May 23, 2013

[PHP & Apache][Solved] PHP scripts does not work on apache

After I installed php, i found i can't see the php script works,
and finally I found a script work for me:


Add the scripts (2line )in Apache config file is okay
Path: C://Apache2.2/conf/httpd.conf
(<--- open the Apache directory you installed, then click conf folder, and add 2 lines at the end of the "httpd.conf" file.)

AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php



Ref:
http://forums.fedoraforum.org/showthread.php?t=178285

No comments :

Post a Comment