From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to