[PHP-DEV] Bug #14589: PHP4.1 module and cgi-bin programs
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=14589edit=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]
[PHP-DEV] Bug #11496: Apache2 unable to load shared object file apache2/modules/libphp4.so
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Dynamic loading Bug description: Apache2 unable to load shared object file apache2/modules/libphp4.so apache2/bin/apachectl start fails with: Cannot load /usr/local/apache2/modules/libphp4.so into server: cannot open shared object file: cannot load shared object file: No such file or directory the libphp4.so file is in the modules directory along with the libphp4.la file. This is a recent CVS apache2. I tried to use the CVS version of PHP4 (just got it today) but buildconf chokes: rebuilding main/php_config.h.in autoheader: error: shell error while sourcing /tmp/ah21791/traces.sh My system is: Linux kernel 2.4.4 autoconf 2.5 automake 1.4 gcc 2.95.2.1 glibc 2.2.3 PHP4.0.5 was configured with the following directives: --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl=/usr/local/ssl --with-gettext=/usr/local --with-mcrypt=/usr/local/lib --with-mysql=/usr/local/mysql --with-pdflib=/usr/local/lib --with-sablot=/usr/local -- Edit Bug report at: http://bugs.php.net/?id=11496edit=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]
[PHP-DEV] Bug #10768: undefined symbol: output_globals
From: [EMAIL PROTECTED] Operating system: Debian 2.2r2 on Alpha platform PHP version: 4.0.5 PHP Bug Type: Dynamic loading Bug description: undefined symbol: output_globals [output] Syntax error on line 208 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: output_globals ../bin/apachectl start: httpd could not be started [/output] The compile directive was: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-expat=/usr/local/lib --with-sablot=/usr/local/lib --with-openssl=/usr/local/ssl --with-mysql This is Apache 1.3.19 (latest stable) -- Edit Bug report at: http://bugs.php.net/?id=10768edit=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]
[PHP-DEV] Bug #10736: sapi_apache2.c line 248
From: [EMAIL PROTECTED] Operating system: Debian GNU/Linux 2.2rev2 on Alpha platform PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: sapi_apache2.c line 248 When compiling for the Apache2 (beta) server v.2.0.16, got error in php-4.0.5/sapi/apache2filter/sapi_apache2.c line 248, too many arguments to ap_get_brigade(). The line originally read: if ((rv = ap_get_brigade(f-next, bb, mode, readbytes)) != APR_SUCCESS) { I commented out the , readbytes and recompiled fine. Jacob Homechicken Cord -- Edit Bug report at: http://bugs.php.net/?id=10736edit=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]