|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-19 04:38 UTC] mpeters at abriasoft dot com
[2000-10-19 09:28 UTC] chagenbu@php.net
[2000-10-19 16:54 UTC] mpeters at abriasoft dot com
[2000-10-19 17:00 UTC] chagenbu@php.net
[2000-10-19 17:00 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jun 22 00:00:01 2026 UTC |
When building imap as a dynamic module, it fails to work. The module loads, but pages that make use of imap php functions fail. For example, after entering the login data for basilix (php imap client) browser returns "page contained no data") imap.so with php-4.0.2 works beautifully, built in identical fashion. Here's the code that builds the module: # Build PHP modules. build_ext() { gcc -fPIC -shared $RPM_OPT_FLAGS -DHAVE_CONFIG_H -I.\ -I. -I`/usr/sbin/apxs -q INCLUDEDIR` -I./Zend \ -I/usr/include/freetype -I/usr/include/$1 \ -I./ext/$1 -I./ext/$1/lib$1 -I./main\ -I./TSRM\ -I./ext/xml/expat/xmltok -I./ext/xml/expat/xmlparse \ -DHAVE_CONFIG_H `grep ^CPPFLAGS Zend/Makefile | cut -f2- -d=` \ $4 $2 -o $1.so $3 -lc } build_ext imap ext/imap/php_imap.c "/usr/lib/c-client.a" "-DCOMPILE_DL_IMAP"