I get File_load_file(): wrapper is disabled Error

  • September 11, 2017
  • 0 Comments

If you get an error message that looks like something below:

file_load_file($p_url); Severity: Warning Message: file_load_file(): 
http:// wrapper is disabled in the server configuration by 
allow_url_fopen=0 Filename: filename_path/filename.php

You will need to activate the "allow_url_fopen" function in php.ini for cPanel. To learn how to edit php.ini, click here. On the MultiPHP INI Editor, under Basic Mode, set the allow_url_fopen directive to Enabled, and click Apply.


How helpful was this article to you?