Bug #15193 Updated: Module loads but does not work

From: Date: Fri, 07 Jun 2002 01:17:27 +0000
Subject: Bug #15193 Updated: Module loads but does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9707@lists.php.net to get a copy of this message
ID: 15193 Updated by: sniper@php.net Reported By: stephen@brightonline.com.au -Status: Open +Status: Bogus Bug Type: Dynamic loading Operating System: solaris 2.8 PHP Version: 4.1.1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. And of Apache2 too.. Previous Comments: ------------------------------------------------------------------------ [2002-01-28 19:32:52] stephen@brightonline.com.au So where to now? Do I pass this on to the httpd team? Down grade to httpd 1.3? It seems other have this running already. Will installing it as a static module work? Your help has been tremendous Regards Stephen ------------------------------------------------------------------------ [2002-01-28 10:39:15] michel@construsoft.be After some debugging, I found that the problem is clearly in Apache. There is a segmentation violation inside procedure cleanup_pool_for_exec from file apr_pools.c. I suspect field sub_pools from struct apr_pool_t beeing corrupted. This procedure is called just before an execve in apr/threadproc/unix/proc.c. ------------------------------------------------------------------------ [2002-01-24 20:02:47] stephen@brightonline.com.au Thank-you for the reply. The filters have worked for php, however loading the module still renders my cgi scripts non-operational. The error message is Server error! Premature end of script headers: /var/www/webmail/index.cgi Error 500 If I remove the module, the script works fine. There is no additional information provided in the error logs. Regards Stephen ------------------------------------------------------------------------ [2002-01-24 07:24:42] sander@php.net Does it work now? ------------------------------------------------------------------------ [2002-01-24 03:01:05] manu@php.net be careful the configuration change for Apache 2 you must use filter ! watch README from Apache2filter http://cvs.php.net/co.php/php4/sapi/apache2filter/README?r=1.8 you must replace : LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php By LoadModule php4_module modules/libphp4.so <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15193 -- Edit this bug report at http://bugs.php.net/?id=15193&edit=1

« previous php.bugs (#9707) next »