[PHP-DEV] PHP 4.0 Bug #4580 Updated: Apache dies with PHP as DSO From: Bug Database (php-dev <email protected>)
Date: 05/28/00

ID: 4580
User Update by: tb <email protected>
Old-Status: Open
Status: Closed
Old-Bug Type: Oracle related
Bug Type: Dynamic loading related
Description: Apache dies with PHP as DSO

Problem was solved (thx to Mr. Thies C. Arntzen):

" the 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). "

configuring Apache with LDFLAGS=-lpthread gave me a wonderful
stable webserver with php3,php4/oracle and mysql support...

### example configure:
[root <email protected> php-3.0.16]# LDFLAGS=-lpthread ./configure \
> --prefix=/usr/local/apache \
> --enable-shared=max
###

this "workaround" should also fix BUGS #4437, #4577 and #4601

Full Bug description available at: http://bugs.php.net/version4/?id=4580

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>