Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!
| From: | jkaufman at footlocker dot com | Date: | Thu, 28 Feb 2002 19:26:28 +0000 |
| Subject: | Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6197@lists.php.net to get a copy of this message | ||
I have been trying very unsuccessfully to get Apache 1.3.23 to run php
4.1.1 as a DSO. I can get everything to compile, but if I try to load the
php DSO apache will CORE.
System Information:
Aix 4.3.3 Patch Level 9
Cset for Aix compiler v5.02
Perl 5.6.0 [bull lppset]
MM v1.1.3 [bull lppset]
Bison v1.33 [self-compile]
GNU Make v1.4 [bull lppset]
GNU readline 4.1.0.1 [bull lppset]
GNU m4 v1.4 [bull lppset]
GNU Autoconf
GNU Automake
Apache configure:
./configure \
--enable-rule=SHARED_CORE \
--enable-rule=EAPI \
--enable-module=so \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl \
--enable-module=usertrack \
--enable-module=digest \
--enable-module=ssl \
--enable-shared=usertrack \
--enable-shared=digest \
--enable-shared=ssl \
--disable-module=autoindex \
--server-uid=apache \
--server-gid=web \
--with-port=3000 \
--prefix=/sftw/apache \
--logfiledir=/logs/system/apache \
--cgidir=/data/htdocs/cgi-bin \
--htdocsdir=/data/htdocs/base \
--iconsdir=/data/htdocs/icons \
--mandir=/usr/local/man \
--includedir=/usr/local/include
php configure:
./configure --prefix=/usr/local \
--with-apxs=/sftw/apache/bin/apxs\
--with-pgsql=shared,/usr/local/lib \
--enable-track-vars \
--with-xml \
--without-mysql \
--enable-discard-path \
--with-zlib \
--with-mm \
--with-java=/usr/java131 \
--with-openssl=/usr/local
what I have tried...
export CC='cc -Dinline= -ma' before compiling/configuring of php
Adding -bI:/usr/HTTPServer/libexec/httpd.exp to libtool (archive_cmds) before compiling php
Compiling just basic apache v1.3.23 and php (no pgsql, no mm, no java, no ssl). Nothing seems to
work.
Any ideas? I'm out...
BTW. I also get the error duing make install of no libphp4.so, however I found that after you do a
make, if you copy ./libs/libphp4.so.2 to
../libs/libphp4.so it doesn't complain anymore.
Hopefully that is actually the right libphp4.so
Thanks
Jonathan Kaufman
Footlocker Inc
BTW2: I got no where fast if I try to use the IBM HTTPServer (which is based on apache), php 4.1.1
doesn't like the apxs that is with that package....