APACHE-PHP on WINXP!!!
| From: | muhammed mamedov | Date: | Wed, 22 May 2002 14:23:41 +0000 |
| Subject: | APACHE-PHP on WINXP!!! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7071@lists.php.net to get a copy of this message | ||
I am running Windows(Nt 5.1 ) XP Home Edition with APACHE 1.3.24 PHP/4.2.1.
I can run PHP scripts from command promot but under IE I cannot run them!
I am in trouble with configuring PHP for APACHE!! PERL works fine but PHP
doesn`t help me ... I just added this lines into httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddModule mod_php4.c
Here is the errrormessage I get all the time..
[Wed May 22 17:13:48 2002] [error] [client 10.0.4.67]
c:/wwwroot/cgi-bin/a.php is not executable; ensure interpreted scripts have
"#!" first line
[Wed May 22 17:13:48 2002] [error] [client 10.0.4.67] couldn't spawn child
process: c:/wwwroot/cgi-bin/a.php
Thank,
Muhammed MAmedov