Re: Apache and PHP
| From: | Michael Kimsal | Date: | Mon, 05 Feb 2001 02:35:13 +0000 |
| Subject: | Re: Apache and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38179@lists.php.net to get a copy of this message | ||
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 :)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net