From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 23:00:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F9C10656E1 for ; Wed, 2 Jul 2008 23:00:18 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id B7FC48FC0C for ; Wed, 2 Jul 2008 23:00:13 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 2867 invoked by uid 1008); 3 Jul 2008 00:03:43 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 3 Jul 2008 00:03:43 -0000 Message-ID: <486C087B.4060002@el.net> Date: Wed, 02 Jul 2008 19:00:11 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: users@httpd.apache.org References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> <486BA9BF.1030109@el.net> <486C0329.40300@el.net> In-Reply-To: <486C0329.40300@el.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [users@httpd] Re: httpd php dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2008 23:00:18 -0000 if i build php with all the things i need it builds fine but at the time of instalaltion here is what happens: # make install Installing PHP SAPI module: apache2handler /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' libphp5.la /etc/httpd/modules /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/ cp .libs/libphp5.so /etc/httpd/modules/libphp5.so cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.6/libs' chmod 755 /etc/httpd/modules/libphp5.so [activating module `php5' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Segmentation fault (core dumped) *** Error code 139 Stop in /usr/local/src/php-5.2.6. *** Error code 1 Stop in /usr/local/src/php-5.2.6. what is the logical explanation for all this tanks. kalin m wrote: > this is getting to ridiculous levels.... > > if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache > starts and httpd/php works ok. anything else added to the > configuration - and i tried different stuff - ( > --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - > alone or in combination builds fine but at the time of apache startup > it dumps core... > > apparently the httpd - currently 2.2.9 - configure doesn't matter. so > right now the httpd is configured - as intended - with: > ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl > --enable-rewrite --enable-so --enable-headers --enable-unique-id > > i tried also with httpd 2.0.63. same thing. i can't imagine anymore > what the hell can it be. i've done many other installs and never had > this things happening. > > the machine is freebsd 7. its a 64 bit build on a multiprocessor > machine. dual quad core... and identifies itself as amd64... > > i just don't get it.... > what to look at?! > > thanks... > > > > kalin m wrote: >> i'd be assuming than that i'd need to build an older apache. >> this is probably a stupid question but is there anybody out there >> that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 >> (multi processor) without problems? >> >> thanks... >> >> >> >> kalin m wrote: >>> sure. >>> >>> ./configure --prefix=/etc/httpd --enable-ssl >>> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so >>> --enable-headers --enable-unique-id >>> >>> like i said there is pretty much nothing in the error log for httpd. >>> it's a brand new install. here is the whole file: >>> >>> [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not >>> exist: /usr/web/favicon.ico >>> [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down >>> [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down >>> [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down >>> ~ >>> (just changed my ip there) >>> >>> i suspect the apache so module...... but not really sure.... >>> executing php files on the cli is working fine to.. it must be the >>> so... >>> httpd and php are supposed to just work together..... that's why >>> core dump without any messages is a bit weired..... >>> >>> >>> >>> Odhiambo Washington wrote: >>>> On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: >>>> >>>>> there is no extensions.ini anywhere on this machine... a brand >>>>> new one. >>>>> httpd/logs/error_log has 6 lines in it. something about session >>>>> cash (SSL) >>>>> not configured... >>>>> >>>>> httpd runs fine without loading the php module.... >>>>> >>>> >>>> Would you like to provide details on how you compiled your apache >>>> then? Did you use the ports to install? >>>> What options did you compile with? >>>> What is this that you have in the error_log that you don't want to >>>> reveal? >>>> >>>> >>>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >