php4 apxs
| From: | FERNANDO NUNES | Date: | Wed, 28 Jun 2000 03:16:47 +0000 |
| Subject: | php4 apxs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22584@lists.php.net to get a copy of this message | ||
I was trying to compile php-4.0.0 with apache-1.3.12 as a module an when I
installed it it crashed. I already had php3 installed with
-with-versioning and when i used this, with
LoadModule php3, it says
apachectl configtest
PHP Warning: Function registration failed - duplicate name - define in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - defined in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - each in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strlen in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strcmp in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strcasecmp
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
error_reporting in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - leak in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
function_exists in Unknown on line 0
PHP Warning: Basic Functions: Unable to register functions, unable to
load in Unknown on line 0
Syntax OK
When I don't use LoadModule php3, php4 loads ok, but I crashes.
Where's the trace.
TIA.
(gdb) run -X -f /etc/apache/httpd.conf
Starting program: /usr/local/apache/bin/httpd -X -f /etc/apache/httpd.conf
Program received signal SIGSEGV, Segmentation fault.
0x4029bb3a in php_xbithack_handler (r=0x818b5ec) at mod_php4.c:660
660 conf = (php_apache_info_struct
*) get_module_config(r->per_dir_config, &php4_module);
(gdb) bt
#0 0x4029bb3a in php_xbithack_handler (r=0x818b5ec) at mod_php4.c:660
#1 0x8054d1f in ap_invoke_handler ()
#2 0x8067c57 in ap_run_sub_req ()
#3 0x40145c93 in handle_include () from
/usr/local/apache/libexec/mod_include.so
#4 0x40149269 in send_parsed_content () from
/usr/local/apache/libexec/mod_include.so
#5 0x401498db in send_parsed_file () from
/usr/local/apache/libexec/mod_include.so
#6 0x8054d1f in ap_invoke_handler ()
#7 0x8068549 in process_request_internal ()
#8 0x8068970 in ap_internal_redirect ()
#9 0x40153c45 in handle_dir () from /usr/local/apache/libexec/mod_dir.so
#10 0x8054d1f in ap_invoke_handler ()
#11 0x8068549 in process_request_internal ()
#12 0x80685a8 in ap_process_request ()
#13 0x805fea1 in child_main ()
#14 0x806004c in make_child ()
#15 0x80601a7 in startup_children ()
#16 0x80607cc in standalone_main ()
#17 0x8060f5f in main ()
#18 0x40055577 in __libc_start_main (main=0x8060c04 <main>, argc=4,
argv=0xbffffa84, init=0x804f1d4 <_init>,
fini=0x8097138 <_fini>, rtld_fini=0x4000aa70 <_dl_fini>,
stack_end=0xbffffa7c) at ../sysdeps/generic/libc-start.c:92
(gdb)
---------------------------------------------------------------------------
Fernando Emmanuel da Costa Pereira Nunes vector@cindy.fe.up.pt
ICQ UIN: 14603798 TLF: +351 22 2041896 NiAEFEUP Ext. 1896
ei96007@fe.up.pt TLM: +351 93 8291008 LEIC - FEUP - PORTUGAL
---------------------------------------------------------------------------