How to enable allow_url_fopen, allow_url_include on a shared server using custom php.ini

You can simply enable/disable the php functions allow_url_include and allow_url_fopen by editing the php configuration file.

 

  1.  Open your PHP.ini file
    • If you are unsure how to do this check with your hosting provider
  2. Add the following lines to your PHP.ini file:
    •  allow_url_fopen = On
    •  allow_url_include = On
  3. Save
Close Menu