Hello
Thanks for the response. I tried your suggestion and unfortuneately it didn't work. This is what I did...
LoadModule php4_module c:/php/php-4.2.3-Win32/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
I also made sure to comment out the lines that you said to remove. When I run Apache in a counsole I get the following message...
Apache/1.3.27 (Win32) PHP/4.2.3 running...
And then I can run .php scripts that contain the shebang line but as soon as I remove it I get a "500 Internal Server Error"
My error log is just packed with this same message over and over again.
[Sat May 10 18:00:55 2003] [error] [client 127.0.0.1] c:/program files/apache group/apache/cgi-bin/calc.php is not executable; ensure interpreted scripts have "#!" first line
[Sat May 10 18:00:55 2003] [error] [client 127.0.0.1] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/calc.php
I have checked the syntax of my httpd.conf file using the test that comes with Apache and it tells me that the syntax is "OK".
I am really at a loss as to why this doesn't work. Would love to hear more suggestions as to how to fix this. At some point I am going to be trying to use PostNuke and I don't think that it is going to work if I need the shebang line in every file that I want to execute.
I know that there is a way around this problem.
Thanks
Robert