ID: 19846 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: HP-UX 11.11 PHP Version: 4.2.2 New Comment:
Compile the exts into PHP itself. ie. don't use phpize to compile such core extensions. You're obviously doing something wrong when linking and haven't even linked all necessary libs with them.. reopen if imap extension does not work when configured as normal extension. (and not as shared!) Previous Comments: ------------------------------------------------------------------------ [2002-10-10 09:24:35] [EMAIL PROTECTED] Mayby dumm question, hove do i load a static-module ? By the way i do not have a core ! Jesper ------------------------------------------------------------------------ [2002-10-10 08:48:04] [EMAIL PROTECTED] What exactly do you mean with 'linked by hand' ????? You're very likely doing something that your shouldn't be doing..why don't you compile it as static extension? ------------------------------------------------------------------------ [2002-10-10 08:26:13] [EMAIL PROTECTED] Before try to get backtrace, please try cvs version also. ------------------------------------------------------------------------ [2002-10-10 08:24:53] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-10-10 06:57:08] [EMAIL PROTECTED] Using pre-compiled apache 1.3.26 and php 4.2.2 as module from HP. Made imap extension with hp-ansi/c compiler CFLAGS=-Ae +DA1.1 +DS2.0 +z cd /opt/php-4.2.2/ext/imap phpize ./configure --with-imap=/opt/imap-2002.RC7/c-client --with-imap-ssl=/opt/apache/ssl make linked by hand with c-client "ld -b -o imap.sl *.o" Moved imap.sl to /opt/apache/php/lib/php/extension/imap.sl I get following error in apache error_log: FATAL: emalloc(): Unable to allocate 170864426 bytes when i try to use imap-functions, and no result in th ebrowser ! I have build other extension like oci8.sl, gd.sl, calendar.sl and ftp.sl that works the same way ! Hope sombody can help mee with this, i can se in the bug-database that there have been simmular problems in Windows erlier ? I have tryed the same with php 4.2.3 and with older c-clients but same error. Best regards Jesper Sivertsen ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19846&edit=1
