{"id":2583,"date":"2009-11-23T12:36:29","date_gmt":"2009-11-23T12:36:29","guid":{"rendered":"http:\/\/localhost\/helpcentre\/?p=2583"},"modified":"2026-01-14T14:54:45","modified_gmt":"2026-01-14T12:54:45","slug":"what-is-allow_url_fopen-and-what-must-it-be-set-to","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/what-is-allow_url_fopen-and-what-must-it-be-set-to\/","title":{"rendered":"What is allow_url_fopen and what must it be set to?"},"content":{"rendered":"<p>PHP is a scripting language used by developers to build websites. \u2018url_fopen\u2019 refers to a PHP directive allowing files to be included from external sources.<\/p>\n<p>When the directive \u2018allow_url_fopen\u2019 is enabled on a server-wide level, it creates a security risk for all domains hosted on that server. It is, for this reason, we have disabled the \u2018allow_url_fopen\u2019 directive on Monday, 23 November 2009 on our Web hosting servers.<\/p>\n<p>Should you require the \u2018allow_url_fopen\u2019 directive to be enabled on your domain to ensure your website functions optimally, you will need to enable the directive on a per domain level. If your website does not require \u2018allow_url_fopen\u2019 you can simply check that the directive is set to \u2018off\u2019.<\/p>\n<p>Simply follow these steps to <strong>enable \u2018allow_url_fopen\u2019 per domain<\/strong>:<\/p>\n","protected":false,"plain":"PHP is a scripting language used by developers to build websites. \u2018url_fopen\u2019 refers to a PHP directive allowing files to be included from external sources.\r\n\r\nWhen the directive \u2018allow_url_fopen\u2019 is enabled on a server-wide level, it creates a security risk for all domains hosted on that server. It is, for this reason, we have disabled the \u2018allow_url_fopen\u2019 directive on Monday, 23 November 2009 on our Web hosting servers.\r\n\r\nShould you require the \u2018allow_url_fopen\u2019 directive to be enabled on your domain to ensure your website functions optimally, you will need to enable the directive on a per domain level. If your website does not require \u2018allow_url_fopen\u2019 you can simply check that the directive is set to \u2018off\u2019.\r\n\r\nSimply follow these steps to <strong>enable \u2018allow_url_fopen\u2019 per domain<\/strong>:"},"excerpt":{"rendered":"<p>\u2018url_fopen\u2019 refers to a PHP directive allowing files to be included from external sources.<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[168,179,166],"tags":[24201,24198],"topics":[],"class_list":["post-2583","post","type-post","status-publish","format-standard","hentry","category-managing-website","category-php","category-website","tag-enable-allow_url_fopen","tag-allow_url_fopen"],"acf":[],"additional_meta":{"category_title":[{"term_id":168,"name":"Managing your Website","slug":"managing-website","term_group":0,"term_taxonomy_id":168,"taxonomy":"category","description":"Managing your Website","parent":166,"count":52,"filter":"raw","term_order":"83","cat_ID":168,"category_count":52,"category_description":"Managing your Website","cat_name":"Managing your Website","category_nicename":"managing-website","category_parent":166},{"term_id":179,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":179,"taxonomy":"category","description":"Allowing you to create dynamic content that interacts with databases","parent":168,"count":20,"filter":"raw","term_order":"97","cat_ID":179,"category_count":20,"category_description":"Allowing you to create dynamic content that interacts with databases","cat_name":"PHP","category_nicename":"php","category_parent":168},{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":[{"term_id":24201,"name":"enable allow_url_fopen","slug":"enable-allow_url_fopen","term_group":0,"term_taxonomy_id":24201,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"82"},{"term_id":24198,"name":"allow_url_fopen","slug":"allow_url_fopen","term_group":0,"term_taxonomy_id":24198,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"83"}]},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/2583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=2583"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/2583\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=2583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=2583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=2583"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=2583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}