PHP 4.0 Bug #7331: imap no workie
| From: | mpeters at abriasoft dot com | Date: | Thu, 19 Oct 2000 07:33:56 +0000 |
| Subject: | PHP 4.0 Bug #7331: imap no workie | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35491@lists.php.net to get a copy of this message | ||
From: mpeters@abriasoft.com
Operating system: linux (Red Hat 6.x and 7)
PHP version: 4.0.3pl1
PHP Bug Type: *General Issues
Bug description: imap no workie
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"
--
Edit Bug report at: http://bugs.php.net/?id=7331&edit=1