{"id":92,"date":"2012-10-05T16:42:59","date_gmt":"2012-10-05T14:12:59","guid":{"rendered":"http:\/\/www.shvek.com\/?p=92"},"modified":"2012-10-05T16:42:59","modified_gmt":"2012-10-05T14:12:59","slug":"plesk-11-running-php-site-under-fastcgi-does-not-connect-to-remote-sites-with-fopen","status":"publish","type":"post","link":"https:\/\/shvek.com\/?p=92","title":{"rendered":"Plesk 11 &#8211; Running PHP site under FastCGI does not connect to remote sites with fopen()"},"content":{"rendered":"<p>After creating a new CentOS 6.3 VM for a client, we installed Plesk 11.04 and found that all sites running PHP as a FastCGI application were unable to access other sites using fopen(&#8220;$url&#8221;).<\/p>\n<p>This affected Joomla, WordPress and other modules which also access other sites. <\/p>\n<p>The FIX!<\/p>\n<p>CentOS running with SELinux Enabled was the problem. <\/p>\n<p>After SELinux was disabled and the VM rebooted all was fine!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After creating a new CentOS 6.3 VM for a client, we installed Plesk 11.04 and found that all sites running PHP as a FastCGI application were<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shvek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":1,"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":93,"href":"https:\/\/shvek.com\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions\/93"}],"wp:attachment":[{"href":"https:\/\/shvek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shvek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shvek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}