PHP 4.0 Bug #7331 Updated: imap no workie

From: Date: Thu, 19 Oct 2000 13:28:46 +0000
Subject: PHP 4.0 Bug #7331 Updated: imap no workie
Groups: php.dev 
Request: Send a blank email to php-dev+get-35529@lists.php.net to get a copy of this message
ID: 7331 Updated by: chagenbu Reported By: mpeters@abriasoft.com Status: Feedback Bug Type: IMAP related Assigned To: Comments: If phpinfo() doesn't mention IMAP, then it isn't loading properly. Have you checked your webservers error log, or tried to get a backtrace of what happens when you try basilix? Previous Comments: --------------------------------------------------------------------------- [2000-10-19 04:38:51] mpeters@abriasoft.com 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. --------------------------------------------------------------------------- [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

« previous php.dev (#35529) next »