{"id":1616,"date":"2015-01-17T00:07:30","date_gmt":"2015-01-17T00:07:30","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1616"},"modified":"2015-01-17T00:07:30","modified_gmt":"2015-01-17T00:07:30","slug":"horde-not-working-php-5-4-33-update","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/17\/horde-not-working-php-5-4-33-update\/","title":{"rendered":"Horde not working after PHP 5.4.33 update"},"content":{"rendered":"<p>Horde not working after PHP 5.4.33 update<br \/>\nArticle ID: 123027, created on Sep 29, 2014, last review on Dec 7, 2014<br \/>\nAPPLIES TO:<br \/>\nParallels Plesk 12.0 for Linux<br \/>\nParallels Plesk 11.5 for Linux<br \/>\nSymptoms<br \/>\nHorde webmail is not working after the PHP 5.4.33 update:<br \/>\nThe login process is slow<br \/>\nEmails are not displayed and sometimes login fails with the error: &#8220;Mail server closed the connection unexpectedly&#8221;<br \/>\nOnce logged in and clicking the &#8220;Email&#8221; link, the page does not load. Instead, after a long delay, users are sent back to the login screen with an error message. The web server&#8217;s error_log file contains:<br \/>\nCall to a member function getUid() on a non-object in \/usr\/share\/psa-pear\/pear\/php\/Horde\/Imap\/Client\/Socket.php on line 1506<br \/>\nCause<br \/>\nThe root cause of this issue is a PHP bug: https:\/\/bugs.php.net\/bug.php?id=41631<br \/>\nThe affected PHP version is built by Atomic and installed from this repository. PHP builds from other repositories could also be affected.<br \/>\nResolution<br \/>\nYou can use one of the following methods to work around the issue:<br \/>\nDowngrade to PHP 5.4.32<br \/>\nyum downgrade $(rpm -qa &#8211;qf &#8220;%{NAME}\\n&#8221; | grep -v ioncube | grep ^php | awk &#8216;{print $1&#8243;-5.4.32&#8243;}&#8217;) -y<br \/>\nTemporarily change the IMAP configuration in Horde webmail:<br \/>\nEdit &#8216;\/usr\/share\/psa-horde\/imp\/config\/backends.php&#8217;<br \/>\nChange &#8216;secure&#8217; => &#8216;tls&#8217; to &#8216;secure&#8217; => &#8216;none&#8217; (see below):<br \/>\n\/\/ IMAP server<br \/>\n$servers[&#8216;imap&#8217;] = array(<br \/>\n    \/\/ ENABLED by default; will connect to IMAP port on local server<br \/>\n    &#8216;disabled&#8217; => false,<br \/>\n    &#8216;name&#8217; => &#8216;IMAP Server&#8217;,<br \/>\n    &#8216;hostspec&#8217; => &#8216;localhost&#8217;,<br \/>\n    &#8216;hordeauth&#8217; => false,<br \/>\n    &#8216;protocol&#8217; => &#8216;imap&#8217;,<br \/>\n    &#8216;port&#8217; => 143,<br \/>\n    \/\/ Plaintext logins are disabled by default on IMAP servers (see RFC 3501<br \/>\n    \/\/ [6.2.3]), so TLS is the only guaranteed authentication available by<br \/>\n    \/\/ default.<br \/>\n    &#8216;secure&#8217; => &#8216;none&#8217;,  \/\/ <------ this one was changed from 'tls' to 'none'\n);\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Horde not working after PHP 5.4.33 update Article ID: 123027, created on Sep 29, 2014, last review on Dec 7, 2014 APPLIES TO: Parallels Plesk 12.0 for Linux Parallels Plesk 11.5 for Linux Symptoms Horde webmail is not working after the PHP 5.4.33 update: The login process is slow Emails are not displayed and sometimes &#8230; <a title=\"Horde not working after PHP 5.4.33 update\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/17\/horde-not-working-php-5-4-33-update\/\" aria-label=\"Read more about Horde not working after PHP 5.4.33 update\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"class_list":["post-1616","post","type-post","status-publish","format-standard","hentry","category-horde"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1616"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1616\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}