Package: php5-imap
Version: 5.2.10.dfsg.1-2.2
Severity: important

With the following php code :

<?php

$mbox  = imap_open("{localhost:143}INBOX","myusername","mypassword");

if ($mbox)
{
  echo "connected";
  imap_close($mbox);
}
else
{
  echo "not connected :<br>" . imap_last_error();
}

?>


I obtain this error :

Warning: imap_open() [function.imap-open]: Couldn't open stream 
{localhost:143}INBOX in /var/www/test/imap.php on line 3
not connected :
Unable to create selectable TCP socket (4150 >= 1024) 


Info :

/proc/sys/fs/file-max = 1250000
/proc/sys/fs/file-nr = 5920    0       1250000
Same comportment with php5-imap stable and testing.
Imap server is courier-imap.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.7-grsec-niloo-release (SMP w/2 CPU cores)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-imap depends on:
ii  libapache2-mod-php5  5.2.10.dfsg.1-2.2   server-side, HTML-embedded scripti
ii  libc-client2007b     8:2007b~dfsg-1.1+b1 c-client library for mail protocol
ii  libc6                2.9-25              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libgssapi-krb5-2     1.7dfsg~beta3-1     MIT Kerberos runtime libraries - k
ii  libk5crypto3         1.7dfsg~beta3-1     MIT Kerberos runtime libraries - C
ii  libkrb5-3            1.7dfsg~beta3-1     MIT Kerberos runtime libraries
ii  libpam0g             1.0.1-5+lenny1      Pluggable Authentication Modules l
ii  libssl0.9.8          0.9.8g-15+lenny5    SSL shared libraries
ii  php5-cgi [phpapi-200 5.2.10.dfsg.1-2.2   server-side, HTML-embedded scripti
ii  php5-cli [phpapi-200 5.2.10.dfsg.1-2.2   command-line interpreter for the p
ii  php5-common          5.2.10.dfsg.1-2.2   Common files for packages built fr

php5-imap recommends no packages.

php5-imap suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to