Bug #14589: PHP4.1 module and cgi-bin programs

From: Date: Tue, 18 Dec 2001 21:08:37 +0000
Subject: Bug #14589: PHP4.1 module and cgi-bin programs
Groups: php.dev 
Request: Send a blank email to php-dev+get-74312@lists.php.net to get a copy of this message
From: jacobc@chiefarchitect.com Operating system: Linux 2.4.10/gcc 3.0 PHP version: 4.1.0 PHP Bug Type: Apache2 related Bug description: PHP4.1 module and cgi-bin programs (this may be related to bug 14556) Output from my phpinfo(): './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-openssl=/usr/local/ssl' '--with-zlib=/usr/local' '--with-mcrypt=/usr/local' '--with-mysql=/usr/local/mysql' '--with-ncurses' '--with-pdflib=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-tiff-dir=/usr/local' I added the filter directive in my httpd.conf file: <Filter *.php> SetOutputFilter PHP SetInputFilter PHP </Filter> When I run apach2 all cgi-bin programs generate "Premature end of script headers" error, until I comment out the <Filter> and 'LoadModule php4_module modules/libphp4.so', then everything works again. Jacob Cord -- Edit bug report at: http://bugs.php.net/?id=14589&edit=1

« previous php.dev (#74312) next »