Hi,

Sorry this is a bit long but I'm at a loss. I'm trying to build 
apache-1.3.22 with modssl/modperl and (dynamic) php on AIX4.3.3.0 using VAC 
5.0.0.2. Everything works fine until I uncomment LoadModule libphp4.so in 
httpd.conf, then apache won't start.

I've tried php4.0.6, php4.1.1 and latest-php but all give the same error. I 
compiled php with VAC and that was fine so not sure why this causes apache 
to coredump.

Here are my php compile options:

./configure --with-apxs=/opt/apache/bin/apxs --enable-debug --without-mysql

I've copied the php.ini file to /usr/local/lib too.

If I run gdb this is what I get (not very helpful):

# gdb httpd
GNU gdb 5.0
Copyright 2000 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 "powerpc-ibm-aix4.3.2.0"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /opt/apache/bin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x10145aa8 in ?? () from /opt/apache/bin/httpd
(gdb)

Here's how I compiled apache:

CC="cc_r"
export CC
CFLAGS="-g -I/usr/include -I/usr/local/include/php -I/usr/local/include"
export CFLAGS
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/php
export LD_LIBRARY_PATH

SSL_BASE=/usr/local/openssl \
./configure \
--prefix=/opt/apache \
--enable-module=ssl \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl \
--enable-module=so \
--enable-suexec \
--suexec-caller=apache

Any help would be really really appreciated.

Cheers,

JS.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
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