读书人

apache无权执行php.exe的解决方法

发布时间: 2012-06-29 15:48:46 作者: rapoo

apache无权执行php.exe的解决办法
Name: Irineu - Brazil none
trying to get Apache2.2x + php4 working for days.
my forehead is bout caved in from banging on keyboard.
my solution for :
(You don't have permission to access /php/php.exe) error
is to add this to http.conf

<Directory "C:/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

I got the idea from this

<Directory "C:/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

There is no documents in apache or php setup instructions for this.
I hope they correct this oversight for other newbies.
Hope it helps

*****************************

读书人网 >Apache

热点推荐