#19181 [Opn->Bgs]: imap functions don't work when executing script from commandline
| From: | kalowsky@php.net | Date: | Thu, 29 Aug 2002 22:30:08 +0000 |
| Subject: | #19181 [Opn->Bgs]: imap functions don't work when executing script from commandline | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18193@lists.php.net to get a copy of this message | ||
ID: 19181
Updated by: kalowsky@php.net
Reported By: webmaster@hardware-spot.com
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: RedHat /version unknown
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Works fine here on three different architectures. You're doing
something wrong.
Previous Comments:
------------------------------------------------------------------------
[2002-08-29 17:48:42] webmaster@hardware-spot.com
Scripts with imap-functions work perfectly when called by browser
(http://www.mydomain.com/imap.php) - they send and receive mail.
However, when the (exact same!) scripts are called from commandline
(php /path_to_script/imap.php or with !#/usr/bin/php added as first
line) execution simply halts as soon as any imap-function is called
like
$conn = @imap_open("\{$server/imap}INBOX", $user, $pass);
Even "or die(mysql_error());" behind the imap-functions doesn't react.
Other scripts with e.g. databasemanipulation work fine from commandline
so it has to be imap/commandline-combination.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19181&edit=1