Re: PHP 4.0 Bug #4577: Apache 1.3.12 httpd dies immediately after startup
| From: | thies at digicol dot de | Date: | Wed, 24 May 2000 13:45:03 +0000 |
| Subject: | Re: PHP 4.0 Bug #4577: Apache 1.3.12 httpd dies immediately after startup | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19388@lists.php.net to get a copy of this message | ||
On Wed, May 24, 2000 at 01:38:25PM -0000, scheller@spamcop.net wrote:
> From: scheller@spamcop.net
> Operating system: RedHat 6.2 2.2.14-5.0 i686
> PHP version: 4.0.0 Release
> PHP Bug Type: Oracle related
> Bug description: Apache 1.3.12 httpd dies immediately after startup
please relink your apache adding -lpthread to the LDFLAGS.
teh problem here is that a executable thats *not* linked
agains -lpthread cannot load a shared library that is liked
against -lpthread. (libphp4.so - linked against -lclntsh
linked against -lpthread).
this is a glibc-2.1 bug that supposed to be finxed in 2.2 (i
heard).
tc
>
> Using Oracle 8.1.5 (downloaded from Oracle technet); oracle environment set to locally
> installed database, using this configure line:
>
> ./configure --with-apxs=/usr/sbin/apxs --with-oracle
>
> After successful make & make install and adding $ORACLE_HOME/lib to my /etc/ld.so.conf so
> the php4 module could find the shared Oracle libraries, any time I try to start the httpd (Apache
> 1.3.12/stock from RH 6.2 distribution) it dies somewhere in the init process before even writing
> anything to the error_log. Using strace, determined that httpd did successfully fork its children
> and then ???
>
> php.ini file is stock from installation.
>
> Remade php4 without Oracle and all is fine.
>
> Can anyone give me more information about how to get more as to what's happening? Where
> httpd is dying?
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany