|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-03-11 10:41 UTC] craig at craigfrancis dot co dot uk
[2020-10-16 13:48 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2020-10-16 13:48 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 06:00:01 2025 UTC |
Description: ------------ This is with the RPM install of PHP 5.3.3 from RedHat, so I realise I'm not running the latest version, however I'm trying to find the source of the issue (I believe it is a bug, rather than a config issue). When opening a connection with the /ssl flag, it returns "Too many arguments provided". To reproduce: <?php $mbox = imap_open('{imap.domain.com:993/imap/ssl}INBOX', $user, $pass); print_r(imap_errors()); ?> This results in the error message "Too many arguments provided". Removing the "/ssl" flag: <?php $mbox = imap_open('{imap.domain.com:993/imap}INBOX', $user, $pass); print_r(imap_errors()); ?> Still results in a failed connection (the remote server requires an ssl connection), but this kind of fixes the issue. PHP info shows: IMAP c-Client Version => 2007e SSL Support => enabled Kerberos Support => enabled Which confirms that SSL support is enabled, and the configure command includes: --with-imap=shared --with-imap-ssl Do you know how I can debug further? For reference a bug report has been raised on RedHat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=919506