PHP 4.0 Bug #4580: Apache dies with PHP as DSO
| From: | tb at 2anc dot de | Date: | Wed, 24 May 2000 17:22:57 +0000 |
| Subject: | PHP 4.0 Bug #4580: Apache dies with PHP as DSO | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19393@lists.php.net to get a copy of this message | ||
From: tb@2anc.de
Operating system: Linux 2.2.15
PHP version: 4.0.0 Release
PHP Bug Type: Oracle related
Bug description: Apache dies with PHP as DSO
Same as Bug ID4577
Apache 1.3.12, PHP 4.0.0, Oracle 8.1.6 EE
Compiled with following Options:
[Apache]
configure --prefix=/usr/local/apache --enable-shared=max
[PHP]
configure --with-apxs=/usr/local/apache/bin/apxs
--with-oracle=/home/oracle
->>Apache died immediately after start - no core / nothing in its error log file.
---
Compiling it as static module works (halfways):
[PHP]
./configure --with-mysql --with-apache=../apache_1.3.12
--with-oracle=/home/oracle
--with-oci8=/home/oracle
--with-config-file-path=/etc/httpd
--enable-versioning
BUT:
strange things happen in apache's error log file with the static configuration:
[Tue May 23 23:46:31 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.0 configured -- resuming normal
operations
zend_hash.c(185) : Freeing 0x08206D0C (20 bytes), script=/home/webserver/webdata/test.php
Last leak repeated 1 time
session.c(1240) : Freeing 0x08208B8C (10 bytes),
script=/home/webserver/webdata/test.php
session.c(1250) : Freeing 0x081ED4AC (8 bytes), script=/home/webserver/webdata/test.php
session.c(1239) : Freeing 0x081ECA2C (5 bytes), script=/home/webserver/webdata/test.php
session.c(1248) : Freeing 0x0820495C (2 bytes), script=/home/webserver/webdata/test.php
session.c(1241) : Freeing 0x0820465C (1 bytes), script=/home/webserver/webdata/test.php
session.c(1245) : Freeing 0x0820462C (1 bytes), script=/home/webserver/webdata/test.php
session.c(1249) : Freeing 0x082045FC (1 bytes), script=/home/webserver/webdata/test.php
zend_hash.c(185) : Freeing 0x08206D0C (20 bytes), script=/home/webserver/webdata
...
...
this messages fill up to 60MB (!!!) in ca. 2 minutes...
BTW: test.php is <? phpinfo(); ?>.......