Help: loading php as CGI

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help: loading php as CGI

Postby digizer » 04. April 2008 16:07

Hai everyone

i need help to setup php as CGI
so I look into \xampp\apache\conf\extra\httpd-xampp.conf

at earlier line I change like this:

<IfModule alias_module>
<IfModule mime_module>
ScriptAlias /php/ "/xampp/php/"
Action application/x-httpd-php "/php/php-cgi.exe"
#LoadModule php5_module "/xampp/apache/bin/php5apache2.dll"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt



then I restart apache

i got Error 403 when accessing localhost
and the error.log say: [error] [client 127.0.0.1] client denied by server configuration: H:/xampp/php/php-cgi.exe


how do I fix it?

thanks for any help.
digizer
 
Posts: 1
Joined: 04. April 2008 15:52

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 198 guests