Date: 05/28/00
- Next message: pramsey <email protected>: "[PHP-DEV] Bug #4655: pg_close causes segfault when using DSO pgsql.so"
- Previous message: Chuck Adams: "Re: [PHP-DEV] removing functions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: pramsey <email protected>: "[PHP-DEV] Bug #4655: pg_close causes segfault when using DSO pgsql.so"
- Previous message: Chuck Adams: "Re: [PHP-DEV] removing functions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

