PHP4 as CGI under Enterprise Server
| From: | Cary Collett | Date: | Wed, 08 Mar 2000 20:56:10 +0000 |
| Subject: | PHP4 as CGI under Enterprise Server | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11767@lists.php.net to get a copy of this message | ||
Hello all,
Following the directions at http://www.webgenx.com/php/phpnes.php3
I've nearly got PHP4 as CGI under Enterprise Server working.
I am getting this message in my error log:
[08/Mar/2000:15:21:17] failure (19959): for host xx.xx.xx.xx trying to GET /index.php,
cgieng_scan_headers reports: the CGI program /usr/netscape/php/bin/php did not produce a valid
header (program terminated without a valid CGI header. Check for core dump or other abnormal
termination)
However, running it from the CL gives:
% /usr/netscape/php/bin/php index.php
Content-Type: text/html
<HTML>
<HEAD>
<TITLE>Foo</TITLE>
</HEAD>
<BODY>
Testing...
</BODY>
</HTML>
Which would seem to be okay to me.
Anyone have any suggestions as to what I'm doing wrong?
Thanks,
Cary
--
Cary Collett cary@ratatosk.org
http://ratatosk.org/~cary
"To me boxing is like ballet, except that there's no music, no choreography,
and the dancers hit eachother." -- Jack Handy