Re: Apache and PHP

From: Date: Mon, 05 Feb 2001 02:41:34 +0000
Subject: Re: Apache and PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38180@lists.php.net to get a copy of this message
I'm not even sure that the shell escape is even used in win32 perl - I think it's done via a regular file association. I clearly remember setting it to #!/some/fake/rubbish one time as a test and it still worked fine I imagine the same would go for php.exe jason > Do you normally have #!perl.exe as your shebang? > > Normally I'd see something like #!/usr/local/bin/perl or > #!/usr/local/bin/php > > not sure of pathing issues on Windows for that. > > #!c:\program files\php4\php.exe > ? > > > "Patrick L. Olson" wrote: > > > I must be missing something while I had no problem getting > > perl and SSI working getting PHP to work is eluding me > > for some reason. I have added this to httpd.conf > > can someone enlighten me on what may be missing > > > > # And for PHP 4.x, use: > > # > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > > > if I call it like http://127.0.0.1/cgi-bin/one.php > > with the shebang line #!php.exe > > I get the following error > > No input file specified > > if I call it without the shebang I get > > the Internal Server Error > > Error logs indicate the the #! is needed > > if I call it in the web root as > > http://127.0.0.1/one.php4 > > it prints the code to the screen > > any insight welcome > > > > Thanks > > going to RRTFM :)

« previous php.general (#38180) next »