[Q]Question about PHP4 CGI binary

From: Date: Thu, 02 Mar 2000 13:42:34 +0000
Subject: [Q]Question about PHP4 CGI binary
Groups: php.version4 
Request: Send a blank email to php-version4+get-11335@lists.php.net to get a copy of this message
*********************** PHP3 *********************** i compiled php3.0.12 cgi binary with "--enable-discard-path" option. and copy php(php3 cgi binary file) to /usr/local/bin. i put test.cgi in /usr/local/apache/cgi-bin/ (apache version 1.3.11) === test.cgi ================= #!/usr/local/bin/php <? echo "hello"; ?> ============================== $>lynx http://localhost/cgi-bin/test.cgi hello (works good) *********************** PHP4 *********************** i also compiled php4b4pl1 cgi binary with "--enable-discard-path" option. copy php(php4 cgi binary file) to /usr/local/bin $>lynx http://localhost/cgi-bin/test.cgi ==> INTERNAL SERVER ERROR !!! $>tail -f /usr/local/apache/logs/error_log ................ [Thu Mar 2 18:44:59 2000] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/test.cgi ................ PHP4 problem? sorry for poor english

« previous php.version4 (#11335) next »