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

From: Date: Tue, 12 Feb 2002 02:20:19 +0000
Subject: Bug #14589 Updated: PHP4.1 module and cgi-bin programs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160@lists.php.net to get a copy of this message
ID: 14589 Updated by: nrosier@netscape.net -Reported By: jacobc@chiefarchitect.com +Reported By: nrosier@netscape.net Status: Open Bug Type: Apache2 related Operating System: Linux 2.4.10/gcc 3.0 PHP Version: 4.1.0 New Comment: Encountering the same problem with PHP 4.1.1 on Solaris 8 with Apache 2.0.28. I used to run PHP 4.2.0 (devel) which had no problems but I can't find the source to that one anymore. Previous Comments: ------------------------------------------------------------------------ [2001-12-18 16:08:36] jacobc@chiefarchitect.com (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 this bug report at http://bugs.php.net/?id=14589&edit=1

« previous php.bugs (#160) next »