How to enable or disable allow_url_fopen in cPanel?

Sometimes, few application required allow_url_fopen need to be on. As allow_url_fopen is managed by PHP.ini, we don’t allow it globally. However, It can be changed from cPanel by following these steps:

  1. Login to cPanel
  2. Go to PHP Selector from Software Section.
  3. Now click on the Select PHP Version. On the next page, you will see the current PHP version, and if you see the current version is native PHP. You need to change the PHP version.
  4. The Current PHP version drop-down selects any other PHP version other than native. After selecting the PHP version, click on the “Set as current”
  5. Now click on the “Options” and you will see allow_url_fopen. By default, it’s enabled.
  6. That’s it! Now you will see it’s enabled in your application.
  • 26 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How can I transfer reseller hosting from old server to you?

Once you backup files, we restore those.If you want to transfer xxx.com to our server, please...

How to update or change PHP Version in cPanel?

A cPanel supports multiple versions of PHP. With this article, we will see how to change the PHP...

How to make or add a addon domain in cPanel

The “Addon Domains” features allow you to use multiple domains with a single hosting account. If...

How to Upload a File Using File Manager?

You can upload your files directly through cPanel using the File Manager. File Manager is a web...

What is the Difference between Parked, Addon and Subdomains?

Subdomain A subdomain is a second website with its own unique content, but there is no new...