Date: 06/26/01
- Next message: danbeck <email protected>: "[PHP-DEV] Bug #10445 Updated: character Lenght of filenames"
- Previous message: old.wolf <email protected>: "[PHP-DEV] Bug #11720: --enable-gd-native-tt given wrongly in ./configure --help"
- Next in thread: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Maybe reply: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Maybe reply: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Reply: Petr Cech: "Re: [PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have the following situation:
I have a linux 2.2.x with the following configuration:
GLIBC 2.2.3
OpenLDAP 2.0.11 (with SSL)
imap-2000c (with SSL)
Apache 1.3.19 (with SSL enabled by default)
When I load imap and ldap modules of PHP4, Apache coredumps.
PHP4's configure:
./configure \
--prefix=%{_prefix} --disable-debug --enable-pic --enable-inline-optimization \
--with-apxs=%{_sbindir}/apxs --enable-shared --disable-static \
--with-config-file-path=%{_sysconfdir}/php4/apache
--with-exec-dir=%{_bindir} --with-regex=system --with-gettext --with-freetype-dir=%{_prefix} \
--with-gd --with-jpeg-dir=%{_prefix} --with-png --with-zlib --with-db2 --with-db3 \
--with-gdbm --enable-debugger --enable-openssl --enable-magic-quotes --enable-safe-mode \
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars \
--enable-yp --enable-wddx --enable-snmp --enable-dbf \
--enable-ftp --enable-mcrypt --enable-bcmath --without-mysql \
--without-unixODBC --enable-debug --with-xml
imap and ldap runtime modules are build with:
build_ext() {
%{__cc} -fPIC -shared %{optflags} \
-DCOMPILE_DL_`echo $1 | tr '[a-z]' '[A-Z]'` \
-DHAVE_`echo $1 | tr '[a-z]' '[A-Z]'` \
-I. -I./main -I`%{_sbindir}/apxs -q INCLUDEDIR` -I./Zend \
-I%{_includedir}/freetype -I%{_includedir}/$1 \
-I./ext/$1 -I./ext/$1/lib$1 \
-I./ext/xml/expat/xmltok -I./ext/xml/expat/xmlparse \
-I./TSRM \
`grep ^CPPFLAGS Zend/Makefile | cut -f2- -d=` \
$4 $2 -o $1.so -L.libs $3 -lc
}
build_ext imap ext/imap/php_imap.c "-limap" "-DHAVE_IMAP2000 -DHAVE_IMAP_SSL"
build_ext ldap ext/ldap/ldap.c "-lldap -llber"
Apache doesnt coredumps if I load only php4-imap or only php4-ldap
modules (php4 cgi version works).
Anybody have any clue for that?
Sergio Bruder
-- Coordenação de Desenvolvimento - Projetos Especiais, Conectiva http://www.conectiva.com.br, http://sergio.bruder.net, http://pontobr.org ----------------------------------------------------------------------------- pub 1024D/0C7D9F49 2000-05-26 Sergio Devojno Bruder <bruder <email protected>> Key fingerprint = 983F DBDF FB53 FE55 87DF 71CA 6B01 5E44 0C7D 9F49 sub 1024g/138DF93D 2000-05-26-- 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: danbeck <email protected>: "[PHP-DEV] Bug #10445 Updated: character Lenght of filenames"
- Previous message: old.wolf <email protected>: "[PHP-DEV] Bug #11720: --enable-gd-native-tt given wrongly in ./configure --help"
- Next in thread: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Maybe reply: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Maybe reply: Sergio Bruder: "[PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Reply: Petr Cech: "Re: [PHP-DEV] Apache coredumps with php4 with runtime modules ldap and imap loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

