From:             [EMAIL PROTECTED]
Operating system: Solaris 2.6.1
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  Loading libphp4.so crashes Apache 1.3.11 at startup

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: [EMAIL PROTECTED]; Tel: +41-1-63 27208 (Mon-Thu)
Web: http://www.isg.inf.ethz.ch
----------

-- 
Edit bug report at: http://bugs.php.net/?id=15072&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to