Ok, after much frustration, i compiled my new apache with the modules
(php, ssl, etc..)
need only to get more frustration when starting it up.
Here's the deal:

When I startup Apache I get..

-----
[Wed Jul  3 12:55:24 2002] [warn] Loaded DSO libexec/libphp4.so uses plain
Apache 1.3 API, this module might crash under EAPI! (please recompile it
with -DEAPI)
[Wed Jul  3 12:55:26 2002] [notice] Apache/1.3.26
(Unix) mod_throttle/3.1.2 PHP/4.2.1 mod_ssl/2.8.10 OpenSSL/0.9.6d
configured -- resuming normal operations
[Wed Jul  3 12:55:26 2002] [notice] suEXEC mechanism enabled
(wrapper: /usr/local/psa/apache/bin/suexec)
[Wed Jul  3 12:55:26 2002] [notice] Accept mutex: sysvsem
(Default: sysvsem)
[Wed Jul  3 12:55:27 2002] [notice] child pid 29205 exit signal
Segmentation fault (11)
[Wed Jul  3 12:55:53 2002] [notice] child pid 29206 exit signal
Segmentation fault (11)
-----

which basically doesn't serve out anything because of the segfaults.
I've heard this has 'soemthing' to do with ssl. I originally compiled php
--with-imap-ssl (after compiling c-client with SSLTYPE=unix), but then
compiled them both without ssl support after reading such posts, but still
get the above error. Both Apache and Php ARE compiled with EAPI (not by my
mods)
Example output:
PHP:
/bin/sh /usr/src/new/php-4.2.1/libtool --silent --mode=link gcc
-I. -I/usr/src/new/php-4.2.1/ -I/usr/src/new/php-4.2.1/main
-I/usr/src/new/php-4.2.1 -I/usr/local/psa/apache/include
-I/usr/src/new/php-4.2.1/Zend -I/usr/local/openssl/include
-I/usr/include/c-client -I/usr/src/new/php-4.2.1/ext/mysql/libmysql
-I/usr/src/new/php-4.2.1/ext/xml/expat  -DHARD_SERVER_LIMIT=2048
-DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22
-DMOD_SSL=208103 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
-DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I/usr/src/new/php-4.2.1/TSRM
-g -O2 -prefer-pic   -o libphp4.la -rpath /usr/src/new/php-4.2.1/libs
-avoid-version -L/usr/local/openssl/lib  -R /usr/local/openssl/lib stub.lo
Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
/usr/src/new/php-4.2.1/ext/ctype/libctype.la
/usr/src/new/php-4.2.1/ext/imap/libimap.la
/usr/src/new/php-4.2.1/ext/mysql/libmysql.la
/usr/src/new/php-4.2.1/ext/openssl/libopenssl.la
/usr/src/new/php-4.2.1/ext/pcre/libpcre.la
/usr/src/new/php-4.2.1/ext/posix/libposix.la
/usr/src/new/php-4.2.1/ext/session/libsession.la
/usr/src/new/php-4.2.1/ext/standard/libstandard.la
/usr/src/new/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lc-client
-lcrypt -lpam -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv
-lcrypt -ldl
APACHE:
gcc  -DLINUX=22 -I/usr/include/gdbm -DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI
-DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite `./apaci`
-L./../../mm-1.1.3/.libs  -rdynamic \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
lib/expat-lite/libexpat.a  -lm -lcrypt -lgdbm -lmm -ldl

Any help is appreciated!

-Tony

SOFTWARE BEING COMPILED IS:
apache 1.3.26 w/frontpage patch
mm-1.1.3
openssl-0.9.6d
mod_ssl-2.8.10-1.3.26
imap-2001a (for c-client lib)
php-4.2.1
mod_throttle-3.1.2

CONFIGURES FOR SOFTWARE IS AS FOLLOWS:
mm-1.1.3
 ./configure --disable-shared
openssl-0.9.6d
 ./config --prefix=/usr/local/openssl
mod_ssl-2.8.10-1.3.26
 ./configure \
 --with-apache=../apache_1.3.26 \
 --with-crt=/usr/local/psa/apache/conf/ssl.crt/server.crt \
 --with-key=/usr/local/psa/apache/conf/ssl.key/server.key \
 --with-ssl=/usr/local/openssl
apache_1.3.26
 SSL_BASE=/usr/local/openssl \
 EAPI_MM=../mm-1.1.3 \
 ./configure \
 --enable-module=ssl \
 --enable-shared=ssl \
 --add-module=mod_frontpage.c \
 --prefix=/usr/local/psa/apache \
 --enable-suexec --suexec-caller=apache \
 --suexec-userdir=/usr/local/psa/home/vhosts \
 --suexec-docroot=/usr/local/psa/apache/htdocs \
 --suexec-logfile=/usr/local/psa/apache/logs/suexec_log \
 --suexec-uidmin=100 --suexec-gidmin=100 \
 --suexec-safepath="/usr/local/bin:/usr/bin:/bin" \
 --enable-module=all \
 --disable-module=auth_db \
 --enable-shared=max
imap-2001a
 make slx
 cp c-client/c-client.a /usr/lib/libc-client.a
 cp c-client/*.h /usr/local/include/c-client/
 ln -s /usr/local/include/c-client /usr/include/c-client
 ./configure --with-mysql \
 --with-apxs=/usr/local/psa/apache/bin/apxs \
 --with-openssl=/usr/local/openssl \
 --with-imap
mod_throttle-3.1.2
 make



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to