Celebrate Our 22nd Anniversary with Huge Savings! Up to 70% Off

Fix: file_load_file(): wrapper is disabled in the server configuration by allow_url_fopen

Error Message

wrapper is disabled in the server configuration

Solution
The steps listed below will activate the allow_url_fopen function in php.ini for cPanel. 

  1. Log in to your cPanel account.
  2. Search for Select PHP Version; you can see it below the Software and Services category.
  3. Select the PHP version other than native and click on Set as current.
  4. Now, you can see the link Switch to PHP Settings.
  5. Click on Switch to PHP Settings, and you can set/ apply allow_url_fopen to On.

Following the above-listed steps will help you to counter this error.

 


Was this answer helpful?

« Back

chat