Date: 06/27/00
- Next message: smika: "[PHP-WINDOWS] php4+apache+win98"
- Previous message: Guillaume Patry: "[PHP-WINDOWS] Problems with PHP4+Apache+Win2k"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 27 Jun, Guillaume Patry wrote:
> Hello,
>
> I have some problems with PHP4RC binaries downloaded from php.net and Apache1.3.12 binaries fro win32 running under win2k Pro
>
> php is correctly running under IIS5.0, but when I try to execute a PHP script from IE5, i have this error on the browser :
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable to complete your request.
>
> On the Apache logs I have this line :
>
> [Mon Jun 26 18:12:18 2000] [error] [client 192.192.192.14] (2)No such file or directory: couldn't spawn child process: c:/inetpub/wwwroot/php/enter.php
>
> My php.ini seems to be right, I have turn the ... On
>
> in my httpd.comf for Apache, i have this lines :
>
> ScriptAlias /cgi-bin/ "C:/Inetpub/wwwroot/php/"
> ScriptAlias /php4/ "C:/Inetpub/php4/" ;where php is installed
>
> <Directory "/cgi-bin">
> AllowOverride None
> Options All ExecCGI
> </Directory>
>
> AddType application/x-httpd-php .php .php3 .phtml
> Action application/x-httpd-php "/php4/php.exe"
>
> In my script i have inserted the line #!
>
> I have test with a simple php script :
>
> #!
> <?php
>
> echo "<html><body><h1>Hello World</h1></body></html>";
>
> ?>
>
> Could someone help me ?
>
> Guillaume PATRY.
Take the first line #! out of your script and move your script out of
the cgi-bin directory and try again. It looks like you are trying to
execute the script rather than paerse it with PHP.
Cheers
-- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: smika: "[PHP-WINDOWS] php4+apache+win98"
- Previous message: Guillaume Patry: "[PHP-WINDOWS] Problems with PHP4+Apache+Win2k"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

