PHP 4.0 Bug #7331 Updated: imap no workie
| From: | mpeters at abriasoft dot com | Date: | Thu, 19 Oct 2000 08:38:51 +0000 |
| Subject: | PHP 4.0 Bug #7331 Updated: imap no workie | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35495@lists.php.net to get a copy of this message | ||
ID: 7331
User Update by: mpeters@abriasoft.com
Status: Open
Old-Bug Type: *General Issues
Bug Type: IMAP related
Description: imap no workie
note-
When the phpinfo() function is called, it don't show any sign of imap.
I know 4.0.3pl1 is properly loading modules- 'cause I build gd.so as a module. When php.ini is
told not to load gd.so, gd.so don't load and no gd. When php.ini is told to load gd.so
(uncomment) gd works. Same with mysql.so. It's the imap one thats not loading properly (or
something)- and phpinfo knows nada about it.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-19 03:33:56] mpeters@abriasoft.com
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"
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7331