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

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

Leave a Reply

Your email address will not be published. Required fields are marked *