ID: 16589
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Zlib Related
Operating System: PLD Linux
PHP Version: 4.2.0RC3
New Comment:
What if you remove the zlib.so from your php.ini?
Previous Comments:
------------------------------------------------------------------------
[2002-04-13 12:50:20] [EMAIL PROTECTED]
First update php.ini to reflect the correct extension dir. You're using
a lib compiled with debug=1 and a php version without.
The extension dir, then changes.
------------------------------------------------------------------------
[2002-04-13 11:21:18] [EMAIL PROTECTED]
Fix version.
------------------------------------------------------------------------
[2002-04-13 11:20:41] [EMAIL PROTECTED]
php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error:
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx->r->server, "%s", msg);
(gdb) bt
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
#1 0x00839856 in php_log_err (
log_message=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"..., tsrm_ls=0x1775ff0) at
main.c:324
#2 0x00839d57 in php_error_cb (type=32, error_filename=0x8e8f2b
"Unknown", error_lineno=0,
format=0x8f3de0 "%s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHP compiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n",
args=0xbffff758 "w�|") at main.c:459
#3 0x0082c917 in zend_error (type=32,
format=0x8f3de0 "%s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHP compiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n") at zend.c:682
#4 0x0088cd51 in php_dl (file=0x1d46ff0, type=1,
return_value=0xbffff7c0, tsrm_ls=0x1775ff0) at dl.c:202
#5 0x0083f5c3 in php_load_function_extension_cb (arg=0x1d46ff0,
tsrm_ls=0x1775ff0) at php_ini.c:188
#6 0x008244cd in zend_llist_apply (l=0x915f3c, func=0x83f58a
<php_load_function_extension_cb>, tsrm_ls=0x1775ff0)
at zend_llist.c:186
#7 0x0083faa4 in php_ini_delayed_modules_startup (tsrm_ls=0x1775ff0)
at php_ini.c:313
#8 0x0083ba4b in php_module_startup (sf=0x77a020) at main.c:1001
#9 0x00778ca3 in php_apache_server_startup (pconf=0x4d4010,
plog=0x513010, ptemp=0x516010, s=0x4fe118)
at sapi_apache2.c:435
#10 0x080681e5 in ap_run_post_config (pconf=0x4d4010, plog=0x513010,
ptemp=0x516010, s=0x4fe118) at config.c:130
#11 0x0806e545 in main (argc=2, argv=0xbffff9e4) at main.c:569
#12 0x003c0418 in __libc_start_main () from /lib/libc.so.6
(gdb) frame 0
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx->r->server, "%s", msg);
(gdb) print ctx
$8 = (struct php_struct *) 0x0
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16589&edit=1