i have php compiled as a cgi on solaris 2.6 with netscape 3.6 server. when i run a php script #!/usr/local/bin/php prints out at the top of each page. when i take line out of the script i get a server error:
trying to GET /test.php, cgieng_start_output reports: could not fork new process (exec() failure [Exec format error])
when put back in it works fine but it still prints out the #!/usr/local/bin/php at te top of each page. Does anyone have any idea how to hide this from priniting. also when i run a cgi script the perl location doesn't print so i don't think its the server. thanks