{"id":32516,"date":"2020-12-11T07:16:02","date_gmt":"2020-12-11T07:16:02","guid":{"rendered":"https:\/\/hostduplex.com\/kb\/?p=32516"},"modified":"2020-12-11T07:16:02","modified_gmt":"2020-12-11T07:16:02","slug":"how-to-enable-or-disable-phps-allow_url_fopen-using-cloudlinux-selector-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.hostduplex.com\/kb\/how-to-enable-or-disable-phps-allow_url_fopen-using-cloudlinux-selector-in-cpanel\/","title":{"rendered":"How to Enable or Disable PHP&#8217;s allow_url_fopen using CloudLinux Selector in cPanel?"},"content":{"rendered":"<p><span style=\"font-size: Medium;\">You can use CloudLinux Selector to enable or disable the allow_url_fopen directive in cPanel.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: Medium;\"><strong>1<\/strong>. Log into your cPanel account.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>2<\/strong>. In the <strong>Software<\/strong> section, click the <strong>Select PHP Version<\/strong>.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><img decoding=\"async\" src=\"\/kb\/img\/cP-CL-Select-PHP-Version-icon.gif\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: Medium;\"><strong>3<\/strong>. Click on the <strong>Options<\/strong> menu.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><img decoding=\"async\" src=\"\/kb\/img\/CL-options-menu.gif\" \/><\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>Note<\/strong>: If the <strong>Options<\/strong> page shows an error related to the native PHP version, change it to a non-native version first.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: Medium;\"><strong>4<\/strong>. For enabling allow_url_fopen, tick mark it. For disabling it, uncheck it.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><img decoding=\"async\" src=\"\/kb\/img\/CL-fopen-enable-disable.gif\" \/><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use CloudLinux Selector to enable or disable the allow_url_fopen directive in cPanel. &nbsp; 1. Log into your cPanel account. 2. In the Software section, click the Select PHP Version. &nbsp; 3. Click on the Options menu. Note: If the Options page shows an error related to the native&#8230;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[53],"tags":[],"class_list":["post-32516","post","type-post","status-publish","format-standard","hentry","category-cloudlinux-cpanel"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/32516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/comments?post=32516"}],"version-history":[{"count":0,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/32516\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=32516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/categories?post=32516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/tags?post=32516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}