[PHP-DEV] Bug #471: httpd exits on signal 11 From: banb <email protected>
Date: 06/21/98

From: banb <email protected>
Operating system: FreeBSD-2.2.6
PHP version: 3.0 Final Release
PHP Bug Type: Reproduceable crash
Bug description:
In refer to Bug#460,
Apache-1.3.0 with PHP3.0 DSO module on FreeBSD-2.2-stable
exits with signal 11.

This is because the libc(.so: dynamic link module)
in FreeBSD has the function named 'hash_destroy' that is
not identical to hash.o module in php3 source.
So, when mod_php3 calls 'hash_destroy',
the function of LIBC version is (loaded and) executed,
then crash.

I've resolved that problem in a simple way.
I changed the name 'hash_destroy' to 'hash_cleanup'
on all of the PHP3 source, and made the executable.

There might be better choises, but I hope the CVS will
make the changes. :)