|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-16 13:11 UTC] thommen at inf dot ethz dot ch
Hello,
On our server running Apache 1.3.11 we cannot use PHP 4.0.6, since loading the libphp4.so crashes Apache at startup w/o giving any clue about the problem:
# /etc/init.d/httpd start
Segmentation Fault - core dumped
/pub/httpd/sbin/apachectl startssl: httpd could not be started
#
GDB backtrace:
-----------
(gdb) bt
#0 0xef5ce544 in strrchr ()
#1 0x22e0c in ap_add_module ()
#2 0x230e4 in ap_add_loaded_module ()
#3 0x1aa58 in load_module ()
#4 0x238d8 in invoke_cmd ()
#5 0x24794 in ap_handle_command ()
#6 0x24874 in ap_srm_command_loop ()
#7 0x24efc in ap_process_resource_config ()
#8 0x25b04 in ap_read_config ()
#9 0x34b54 in main ()
(gdb)
As soon as the AddModule and LoadModule directives for PHP4 are removed from httpd.conf, the Server can start up w/o problems.
PHP configuration:
-------------
./configure --prefix=/usr/pack/php-4.0.6-ft
--with-mysql=/pub/mysql/3.22.32/
--with-pgsql=/pub/postgresql/7.0.2
--enable-track-vars
--with-db
--with-ndb
--with-apxs=/pub/apache/1.3.11-nosuexec/bin/apxs
The identical Module works w/o problems on an other Sun Server running the same Apache (1.3.11, identical installation).
Server information (uname -a):
----------------------
The server where Apache crashes:
SunOS XXXXX 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-4
The server w/o problems
SunOS YYYYY 5.6 Generic_105181-21 sun4u sparc SUNW,Ultra-250
Thank you very much in advance for any help
Frank Thommen
----------
Frank Thommen, IT Support Group, D-INFK, ETH Zuerich
E-Mail: thommen@inf.ethz.ch; Tel: +41-1-63 27208 (Mon-Thu)
Web: http://www.isg.inf.ethz.ch
----------
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 15:00:01 2025 UTC |
No way to recompile Apache 1.3.11 here. Nobody kept the sources :-(. I'll drop that case and try with an Apache upgrade. Thank you very much anyway frank