Re: Installing PHP on WinNT and Apache 1.3

From: Date: Fri, 27 Jul 2001 11:37:58 +0000
Subject: Re: Installing PHP on WinNT and Apache 1.3
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-3726@lists.php.net to get a copy of this message
On Thursday 26 July 2001 22:30, aLmAgEdOn wrote: > when i run php hola.php, it shows the right lines, but when i run it with > my browser, it gives a 500 error... an in the error log, appear these > lines: > > [Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1] > c:/servers/server1/php/hola.php is not executable; ensure interpreted > scripts have "#!" first line > [Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1] (2)No such file or > directory: couldn't spawn child process: c:/servers/server1/php/hola.php > > It asks for a #! line... i've got perl... does it matters? > if i add #!/php/php.exe, the script runs, but it prints into the browser > this line... > > do you know what's wrong? I know there was recently a bug/issue with the #! thing, but it didn't interest me so I didn't follow the threads :) Can anyone else help out here? -- Phil Driscoll

« previous php.install (#3726) next »