[PHP-INST] Re: PHP4.0.6 Installed as CGI - #!/usr/local/php/php line echoed with output

2001-08-15 Thread Gary Betz
All, Found the solution in another posting. You need to use the --enable-discard-path option when compiling PHP. Evidently, this supresses the output of the #!/path header output when using PHP as a CGI application. Thx Gary Betz wrote: > I've installed PHP4.0.6 as a CGI application

[PHP-INST] PHP4.0.6 Installed as CGI - #!/usr/local/php/php line echoed with output

2001-08-15 Thread Gary Betz
I've installed PHP4.0.6 as a CGI application. I have everthing working and I can run my scripts from the command line with no problems. The problem lies in when I install my php script into the cgi-bin directory and run it from a browser. The header line in the script gets echoed along with the s