Segfault with Apache 2.0.35 and PHP 4.2.0
| From: | Leigh Dyer | Date: | Tue, 23 Apr 2002 01:01:00 +0000 |
| Subject: | Segfault with Apache 2.0.35 and PHP 4.2.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83182@lists.php.net to get a copy of this message | ||
Hey guys,
I've been having consistent problems trying to get PHP working with
Apache 2. Basically, after getting everything installed, I try to run
apache, and everything seems to work until I realise that no apache
tasks are running.
Running httpd with a -X gives a segfault. Here's the backtrace:
#0 0x4028938c in malloc () from /lib/libc.so.6
#1 0x4028aa93 in calloc () from /lib/libc.so.6
#2 0x403ae58f in zend_hash_init (ht=0x404caa40, nSize=50,
pHashFunction=0, pDestructor=0x403ad8b0 <module_destructor>,
persistent=1) at zend_hash.c:176
#3 0x403ae620 in zend_hash_init_ex (ht=0x404caa40, nSize=50,
pHashFunction=0, pDestructor=0x403ad8b0 <module_destructor>,
persistent=1, bApplyProtection=0)
at zend_hash.c:197
#4 0x403aa43f in zend_startup (utility_functions=0xbffffc58,
extensions=0x0, start_builtin_functions=1) at zend.c:430
#5 0x403b7b05 in php_module_startup (sf=0x404ac1c0) at main.c:902
#6 0x403b5753 in php_apache_server_startup (pconf=0x80b67e0,
plog=0x80ee8c0, ptemp=0x8140248, s=0x81428b0) at sapi_apache2.c:442
#7 0x0807cf04 in ap_run_post_config (pconf=0x80b67e0, plog=0x80ee8c0,
ptemp=0x8140248, s=0x81428b0) at config.c:129
#8 0x08081da7 in main (argc=2, argv=0xbffffdc4) at main.c:611
#9 0x402346cf in __libc_start_main () from /lib/libc.so.6
This is on a Debian woody system, with the release versions of Apache
2.0.35 and PHP 4.2.0. Anyone got any ideas?
Thanks
Leigh