Bug #60578 [Opn]: IMAP-functions don't work!

2011-12-21 Thread profymath at yahoo dot com
Edit report at https://bugs.php.net/bug.php?id=60578edit=1

 ID: 60578
 User updated by:profymath at yahoo dot com
 Reported by:profymath at yahoo dot com
 Summary:IMAP-functions don't work!
 Status: Open
 Type:   Bug
 Package:IMAP related
 Operating System:   Linux
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

One more option!


Previous Comments:

[2011-12-20 22:18:42] profymath at yahoo dot com

Description:

Note:
1. imap.so is loaded (as seen from the script and, through 
get_loaded_extensions() function);
2. imap.ini is parsed (as seen from phpinfo() function);
3. php is compiled with imap (as seen from phpinfo() function, IMAP c-Client 
Version 2007e);
4. error log file (php.ini) don't record any failures after launching the 
script;
5. connection to IMAP Server (dovecot) through telnet doesn't have any problem. 
Moreover, when I start the script I see that the connection to IMAP Server goes 
well but it is disconnected immediately. That is compared to telnet connection, 
the connection through imap_open function doesn't stay opened!
6. webserver (apache) configuration is checked for misconfiguration (as imap-
functions start from webserver environment).Nothing found.  
  



Test script:
---
?php
if(extension_loaded(imap))
  {
  echo preimap loaded/pre;
  }else{
   echo preimap not loaded/pre;
   }

$mbox = imap_open({X.com:143/novalidate-cert},user_name,user_pass);

if($mbox !== FALSE)
  {
  $list = imap_list($mbox,{X.com:143/novalidate-cert},*);
  }else{
   echobr,The stream is closed!;
   }
?

Expected result:

An array containing the names of the mailboxes ($list).

Actual result:
--
imap loaded
Notice: Undefined variable: mbox in /usr/lib/cgi-bin/PPP.php on line 24 Fatal 
error: Call to undefined function  imap_list() in /usr/lib/cgi-bin/PPP.php on 
line 27






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60578edit=1


Bug #60578 [Opn]: IMAP-functions don't work!

2011-12-21 Thread profymath at yahoo dot com
Edit report at https://bugs.php.net/bug.php?id=60578edit=1

 ID: 60578
 User updated by:profymath at yahoo dot com
 Reported by:profymath at yahoo dot com
 Summary:IMAP-functions don't work!
 Status: Open
 Type:   Bug
 Package:IMAP related
 Operating System:   Linux
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

7. safe_mode = Off


Previous Comments:

[2011-12-21 16:20:11] profymath at yahoo dot com

One more option!


[2011-12-20 22:18:42] profymath at yahoo dot com

Description:

Note:
1. imap.so is loaded (as seen from the script and, through 
get_loaded_extensions() function);
2. imap.ini is parsed (as seen from phpinfo() function);
3. php is compiled with imap (as seen from phpinfo() function, IMAP c-Client 
Version 2007e);
4. error log file (php.ini) don't record any failures after launching the 
script;
5. connection to IMAP Server (dovecot) through telnet doesn't have any problem. 
Moreover, when I start the script I see that the connection to IMAP Server goes 
well but it is disconnected immediately. That is compared to telnet connection, 
the connection through imap_open function doesn't stay opened!
6. webserver (apache) configuration is checked for misconfiguration (as imap-
functions start from webserver environment).Nothing found.  
  



Test script:
---
?php
if(extension_loaded(imap))
  {
  echo preimap loaded/pre;
  }else{
   echo preimap not loaded/pre;
   }

$mbox = imap_open({X.com:143/novalidate-cert},user_name,user_pass);

if($mbox !== FALSE)
  {
  $list = imap_list($mbox,{X.com:143/novalidate-cert},*);
  }else{
   echobr,The stream is closed!;
   }
?

Expected result:

An array containing the names of the mailboxes ($list).

Actual result:
--
imap loaded
Notice: Undefined variable: mbox in /usr/lib/cgi-bin/PPP.php on line 24 Fatal 
error: Call to undefined function  imap_list() in /usr/lib/cgi-bin/PPP.php on 
line 27






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60578edit=1


[PHP-BUG] Bug #60578 [NEW]: IMAP-functions don't work!

2011-12-20 Thread profymath at yahoo dot com
From: 
Operating system: Linux
PHP version:  Irrelevant
Package:  IMAP related
Bug Type: Bug
Bug description:IMAP-functions don't work! 

Description:

Note:
1. imap.so is loaded (as seen from the script and, through 
get_loaded_extensions() function);
2. imap.ini is parsed (as seen from phpinfo() function);
3. php is compiled with imap (as seen from phpinfo() function, IMAP
c-Client 
Version 2007e);
4. error log file (php.ini) don't record any failures after launching the 
script;
5. connection to IMAP Server (dovecot) through telnet doesn't have any
problem. 
Moreover, when I start the script I see that the connection to IMAP Server
goes 
well but it is disconnected immediately. That is compared to telnet
connection, 
the connection through imap_open function doesn't stay opened!
6. webserver (apache) configuration is checked for misconfiguration (as
imap-
functions start from webserver environment).Nothing found.  
  



Test script:
---
?php
if(extension_loaded(imap))
  {
  echo preimap loaded/pre;
  }else{
   echo preimap not loaded/pre;
   }

$mbox =
imap_open({X.com:143/novalidate-cert},user_name,user_pass);

if($mbox !== FALSE)
  {
  $list = imap_list($mbox,{X.com:143/novalidate-cert},*);
  }else{
   echobr,The stream is closed!;
   }
?

Expected result:

An array containing the names of the mailboxes ($list).

Actual result:
--
imap loaded
Notice: Undefined variable: mbox in /usr/lib/cgi-bin/PPP.php on line 24
Fatal 
error: Call to undefined function  imap_list() in /usr/lib/cgi-bin/PPP.php
on 
line 27

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60578edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60578r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60578r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60578r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60578r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60578r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60578r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60578r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60578r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60578r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60578r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60578r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60578r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60578r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60578r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60578r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60578r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60578r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60578r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60578r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60578r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60578r=mysqlcfg



[PHP-BUG] Bug #60579 [NEW]: IMAP-functions don't work!

2011-12-20 Thread profymath at yahoo dot com
From: 
Operating system: Linux
PHP version:  Irrelevant
Package:  IMAP related
Bug Type: Bug
Bug description:IMAP-functions don't work! 

Description:

Note:
1. imap.so is loaded (as seen from the script and, through 
get_loaded_extensions() function);
2. imap.ini is parsed (as seen from phpinfo() function);
3. php is compiled with imap (as seen from phpinfo() function, IMAP
c-Client 
Version 2007e);
4. error log file (php.ini) don't record any failures after launching the 
script;
5. connection to IMAP Server (dovecot) through telnet doesn't have any
problem. 
Moreover, when I start the script I see that the connection to IMAP Server
goes 
well but it is disconnected immediately. That is compared to telnet
connection, 
the connection through imap_open function doesn't stay opened!
6. webserver (apache) configuration is checked for misconfiguration (as
imap-
functions start from webserver environment).Nothing found.  
  



Test script:
---
?php
if(extension_loaded(imap))
  {
  echo preimap loaded/pre;
  }else{
   echo preimap not loaded/pre;
   }

$mbox =
imap_open({X.com:143/novalidate-cert},user_name,user_pass);

if($mbox !== FALSE)
  {
  $list = imap_list($mbox,{X.com:143/novalidate-cert},*);
  }else{
   echobr,The stream is closed!;
   }
?

Expected result:

An array containing the names of the mailboxes ($list).

Actual result:
--
imap loaded
Notice: Undefined variable: mbox in /usr/lib/cgi-bin/PPP.php on line 24
Fatal 
error: Call to undefined function  imap_list() in /usr/lib/cgi-bin/PPP.php
on 
line 27

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60579edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60579r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60579r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60579r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60579r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60579r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60579r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60579r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60579r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60579r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60579r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60579r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60579r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60579r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60579r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60579r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60579r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60579r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60579r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60579r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60579r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60579r=mysqlcfg



[PHP-BUG] Bug #60580 [NEW]: IMAP-functions don't work!

2011-12-20 Thread profymath at yahoo dot com
From: 
Operating system: Linux
PHP version:  Irrelevant
Package:  IMAP related
Bug Type: Bug
Bug description:IMAP-functions don't work! 

Description:

Note:
1. imap.so is loaded (as seen from the script and, through 
get_loaded_extensions() function);
2. imap.ini is parsed (as seen from phpinfo() function);
3. php is compiled with imap (as seen from phpinfo() function, IMAP
c-Client 
Version 2007e);
4. error log file (php.ini) don't record any failures after launching the 
script;
5. connection to IMAP Server (dovecot) through telnet doesn't have any
problem. 
Moreover, when I start the script I see that the connection to IMAP Server
goes 
well but it is disconnected immediately. That is compared to telnet
connection, 
the connection through imap_open function doesn't stay opened!
6. webserver (apache) configuration is checked for misconfiguration (as
imap-
functions start from webserver environment).Nothing found.  
  



Test script:
---
?php
if(extension_loaded(imap))
  {
  echo preimap loaded/pre;
  }else{
   echo preimap not loaded/pre;
   }

$mbox =
imap_open({X.com:143/novalidate-cert},user_name,user_pass);

if($mbox !== FALSE)
  {
  $list = imap_list($mbox,{X.com:143/novalidate-cert},*);
  }else{
   echobr,The stream is closed!;
   }
?

Expected result:

An array containing the names of the mailboxes ($list).

Actual result:
--
imap loaded
Notice: Undefined variable: mbox in /usr/lib/cgi-bin/PPP.php on line 24
Fatal 
error: Call to undefined function  imap_list() in /usr/lib/cgi-bin/PPP.php
on 
line 27

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60580edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60580r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60580r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60580r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60580r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60580r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60580r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60580r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60580r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60580r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60580r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60580r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60580r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60580r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60580r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60580r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60580r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60580r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60580r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60580r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60580r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60580r=mysqlcfg