Step 1. Login to the cPanel.
Step 2. Look for MultiPHP INI Editor option in SOFTWARE section and click on it.
Step 3. In Basic Mode select your domain from dropdown menu and click on Apply.
Step 4. Now Enabled allow_url_fopen and click on save settings.