Folks,
I'm trying to get two fantastic PHP projects (IMP and phpAds) running on a
SparcStation20 on which I have installed RedHat-6.0, recently upgraded from the
original 5.1 install. I'm using the following RPM from modssl.org:
apache-mod_ssl-1.3.9.2.4.5-0.5.2.src.rpm
and I'm rpm --rebuilding it here for the sparc architecture. The build goes
cleanly, it installs and makes a fine webserver, including doing SSL just
fine. I've rebuilt and installed mod_php3-3.0.12-1.src.rpm as well,
mod_php3-cpdf-3.0.12-1
mod_php3-imap-3.0.12-1
mod_php3-mysql-3.0.12-1
mod_php3-3.0.12-1
mod_php3-doc-3.0.12-1
mod_php3-xml-3.0.12-1
But no matter what I do, I cannot get a PHP3 install which will drive either
IMP or phpAds. Each time I try to access the front page of phpAds, or login to
IMP, the apache child segfaults. Here's the debugging output:
[root@sinkhole www.dazza.org]# gdb /usr/sbin/httpd
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-redhat-linux"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x5087866c in ?? () from /usr/lib/php3/apache/xml.so
(gdb) bt
#0 0x5087866c in ?? () from /usr/lib/php3/apache/xml.so
#1 0x50879ea0 in ?? () from /usr/lib/php3/apache/xml.so
#2 0x50873438 in ?? () from /usr/lib/php3/apache/xml.so
#3 0x50873bb0 in ?? () from /usr/lib/php3/apache/xml.so
#4 0x50668124 in cs_functioncall_post_variable_passing ()
#5 0x5066bca4 in phpparse ()
#6 0x505fc1f4 in _php3_build_argv ()
#7 0x505fc658 in apache_php3_module_main ()
#8 0x505f8828 in send_php3 ()
#9 0x505f8888 in send_parsed_php3 ()
#10 0x1bee4 in ap_invoke_handler ()
#11 0x2ccf0 in ap_some_auth_required ()
#12 0x2cfcc in ap_internal_redirect ()
#13 0x50428b14 in _init ()
#14 0x1bee4 in ap_invoke_handler ()
#15 0x2ccf0 in ap_some_auth_required ()
#16 0x2cd44 in ap_process_request ()
#17 0x25b34 in ap_child_terminate ()
#18 0x25ce8 in ap_child_terminate ()
#19 0x25e38 in ap_child_terminate ()
#20 0x263dc in ap_child_terminate ()
#21 0x26c04 in main ()
#22 0x5012f8d0 in __libc_start_main () at ../sysdeps/generic/libc-start.c:78
(gdb)
If I reduce the PHP3 installation down to the bare essentials, I get:
[root@sinkhole www.dazza.org]# rpm -qa | egrep php
mod_php3-imap-3.0.12-1
mod_php3-mysql-3.0.12-1
mod_php3-3.0.12-1
mod_php3-doc-3.0.12-1
[root@sinkhole www.dazza.org]# gdb /usr/sbin/httpd
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-redhat-linux"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x5087866c in ?? () from /usr/lib/php3/apache/mysql.so
(gdb) bt
#0 0x5087866c in ?? () from /usr/lib/php3/apache/mysql.so
#1 0x50879ea0 in ?? () from /usr/lib/php3/apache/mysql.so
#2 0x50873438 in ?? () from /usr/lib/php3/apache/mysql.so
#3 0x50873bb0 in ?? () from /usr/lib/php3/apache/mysql.so
#4 0x50668124 in cs_functioncall_post_variable_passing ()
#5 0x5066bca4 in phpparse ()
#6 0x505fc1f4 in _php3_build_argv ()
#7 0x505fc658 in apache_php3_module_main ()
#8 0x505f8828 in send_php3 ()
#9 0x505f8888 in send_parsed_php3 ()
#10 0x1bee4 in ap_invoke_handler ()
#11 0x2ccf0 in ap_some_auth_required ()
#12 0x2cfcc in ap_internal_redirect ()
#13 0x50428b14 in _init ()
#14 0x1bee4 in ap_invoke_handler ()
#15 0x2ccf0 in ap_some_auth_required ()
#16 0x2cd44 in ap_process_request ()
#17 0x25b34 in ap_child_terminate ()
#18 0x25ce8 in ap_child_terminate ()
#19 0x25e38 in ap_child_terminate ()
#20 0x263dc in ap_child_terminate ()
#21 0x26c04 in main ()
#22 0x5012f8d0 in __libc_start_main () at ../sysdeps/generic/libc-start.c:78
Seems to be a theme emerging there. Does anyone know how to interpret this
info and point me in the right direction to get this working on my sparc? I
know I did have this combination working before the upgrade to 6.0 (after
which I recopiled everything from scratch) and I know I havea similar install
working on intel architecture . . . Thanks for any hints/advice.
-Darren
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]