Apache and PHP
| From: | Patrick L. Olson | Date: | Mon, 05 Feb 2001 02:15:25 +0000 |
| Subject: | Apache and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-38178@lists.php.net to get a copy of this message | ||
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 :)