ID: 14589 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Apache2 related Operating System: Linux 2.4.10/gcc 3.0 PHP Version: 4.1.0 New Comment:
Please update to PHP 4.2.0RC3 (from http://www.php.net/~derick/) or try latest CVS snapshot from http://snaps.php.net/ as there have been quite a few fixes lately. Reopen if you still have the same problems with the latest PHP. (and of course, Apache 2.0.35) Previous Comments: ------------------------------------------------------------------------ [2002-02-11 21:20:18] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2001-12-18 16:08:36] [EMAIL PROTECTED] (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