ID: 24199
User updated by: keeper at fly dot srk dot fer dot hr
Reported By: keeper at fly dot srk dot fer dot hr
Status: Open
Bug Type: Apache2 related
Operating System: AIX
PHP Version: 4.3.2
New Comment:

Check out the apache bug:
[url]http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21046[/url]

You can use the patch that is given there. It works.


Previous Comments:
------------------------------------------------------------------------

[2003-06-17 07:57:23] keeper at fly dot srk dot fer dot hr

bash-2.05a$ ./ldd /stage/keeper/apache2/modules/libphp4.so
Could not load program /stage/keeper/apache2/modules/libphp4.so:
Symbol resolution failed for /stage/keeper/apache2/modules/libphp4.so
because:
Symbol ap_mpm_query (number 238) is not exported from
dependent
module ldd.
Symbol ap_server_root_relative (number 239) is not exported
from dependent
module ldd.
Symbol ap_hook_pre_config (number 240) is not exported from
dependent
module ldd.
Symbol ap_hook_post_config (number 241) is not exported from
dependent
module ldd.
Symbol ap_hook_handler (number 242) is not exported from
dependent
module ldd.
Symbol ap_auth_type (number 243) is not exported from
dependent
module ldd.
Symbol ap_log_error (number 244) is not exported from
dependent
module ldd.
Symbol ap_log_rerror (number 245) is not exported from
dependent
module ldd.
Symbol ap_set_last_modified (number 246) is not exported from
dependent
module ldd.
Symbol ap_set_content_type (number 247) is not exported from
dependent
module ldd.
Symbol ap_sub_req_lookup_uri (number 248) is not exported from
dependent
module ldd.
Symbol ap_run_sub_req (number 249) is not exported from
dependent
module ldd.
Symbol ap_destroy_sub_req (number 250) is not exported from
dependent
module ldd.
Symbol ap_update_mtime (number 251) is not exported from
dependent
module ldd.
Symbol ap_get_server_version (number 252) is not exported from
dependent
module ldd.
Symbol ap_add_version_component (number 253) is not exported
from dependent
module ldd.
Symbol ap_get_brigade (number 254) is not exported from
dependent
module ldd.
Symbol ap_pass_brigade (number 255) is not exported from
dependent
module ldd.
Symbol ap_add_cgi_vars (number 256) is not exported from
dependent
module ldd.
Symbol ap_add_common_vars (number 257) is not exported from
dependent
module ldd.
Symbol ap_loaded_modules (number 258) is not exported from
dependent
module ldd.
Symbol ap_server_root (number 259) is not exported from
dependent
module ldd.
Symbol unixd_config (number 260) is not exported from
dependent
module ldd.
Examine .loader section symbols with the 'dump -Tv' command.


--> ldd for httpd:
bash-2.05a$ ./ldd /stage/keeper/apache2/bin/httpd
/usr/lib/librtl.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libc.a(pse.o)
/usr/lib/libtli.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libpthreads.a(shr.o)
/usr/lib/libpthreads_compat.a(shr.o)
/usr/lib/libnsl.a(shr.o)
/usr/lib/libiconv.a(shr4.o)
/stage/keeper/apache2/bin/httpd
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libc.a(shr.o)

------------------------------------------------------------------------

[2003-06-17 05:44:09] [email]sniperphp.net[/email]

What does 'ldd libphp4.so' output?


------------------------------------------------------------------------

[2003-06-17 04:58:17] keeper at fly dot srk dot fer dot hr

gdb returns:
(gdb) run -DONE_PROCESS
Starting program: /stage/keeper/apache2/bin/httpd -DONE_PROCESS
Syntax error on line 233 of /stage/keeper/apache2/conf/httpd.conf:
Cannot load /stage/keeper/apache2/modules/libphp4.so into server:

Program exited with code 01.
(gdb)


About duplicates in httpd.conf: there is no duplicates

------------------------------------------------------------------------

[2003-06-16 10:32:28] [email]sniperphp.net[/email]

Also make sure you don't have duplicate LoadModule for php4 in your
httpd.conf


------------------------------------------------------------------------

[2003-06-16 10:31:28] [email]sniperphp.net[/email]

Try run it via gdb:

# gdb httpd
(gdb) run -DONE_PROCESS

Maybe it crashes..?


------------------------------------------------------------------------

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
[url]http://bugs.php.net/24199[/url]

--
Edit this bug report at [url]http://bugs.php.net/?id=24199&edit=1[/url]