PHP 4.0 Bug #7331 Updated: imap no workie

From: Date: Thu, 19 Oct 2000 21:00:28 +0000
Subject: PHP 4.0 Bug #7331 Updated: imap no workie
Groups: php.dev 
Request: Send a blank email to php-dev+get-35567@lists.php.net to get a copy of this message
ID: 7331 Updated by: rasmus Reported By: mpeters@abriasoft.com Status: Closed Bug Type: IMAP related Assigned To: Comments: This was fixed a couple of versions ago. Simply configure PHP using --with-kerberos and this problem will go away. Previous Comments: --------------------------------------------------------------------------- [2000-10-19 17:00:21] chagenbu@php.net This is a duplicate of bug #4424 (and possibly others) --------------------------------------------------------------------------- [2000-10-19 16:54:30] mpeters@abriasoft.com PHP Warning: Unable to load dynamic library 'blah/imap.so' - undefined symbol: gss_mech_krb5 in Unknown on line 0 (from apache error log) --------------------------------------------------------------------------- [2000-10-19 09:28:46] chagenbu@php.net 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? --------------------------------------------------------------------------- [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" --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=7331

« previous php.dev (#35567) next »