ID: 14000
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Old Bug Type: Mail related
Bug Type: IMAP related
Operating System: FreeBSD
PHP Version: 4.0.6
New Comment:

This is not bug in PHP but propably in the version of
c-client you have. Which version is it? I just tried
with imap-2001a.RELEASE-CANDIDATE.4 and it worked
just fine.

--Jani


Previous Comments:
------------------------------------------------------------------------

[2001-11-09 16:19:11] [EMAIL PROTECTED]

Hosting Server:
---------------
FreeBSD fbsd.austin.rr.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 
2001     [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386

Pop3 Server:
------------
+OK Qpopper (version 4.0.3) at dual.spysatcentral.net starting.  
+<[EMAIL PROTECTED]>

Error in /var/log/httpd-error.log:
----------------------------------
[Fri Nov  9 13:23:56 2001] [notice] child pid 95700 exit signal Segmentation fault 
(11)

PHP Version 4.0.6 options:
'./configure' '--with-apxs=/usr/local/sbin/apxs' 
'--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-system-regex' 
'--disable-debug' '--enable-track-vars' '--without-gd' '--without-mysql' 
'--with-imap=/usr/local' '--prefix=/usr/local' 'i386--freebsd4.4'

HTML/PHP code:
--------------
<HTML><HEAD></HEAD><BODY>
<?php
  $mbox = imap_open ("{dual.spysatcentral.net:110/pop3}INBOX", "someuser", 
"somepass");
  imap_close($mbox);
?>
</BODY></HTML>

Comments:
---------
I don't know any c programming much less how to use a debugger. but I set this up with 
a fresh install of FreeBSD 4.4-stable, and installed from /usr/ports/www/mod_php4 and 
added imap options.
I was able to get imap to connext to the pop3 on a Lotus Domino servers pop3 port and 
work so it apears to be a bug in the the way php4.0.6 talks to Qpopper( also found in 
the FreeBSD ports ) then again maby I am just doing something stupid. :P my original 
code has much more to it but I can get the segfault with just the little code I 
provided.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14000&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to