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. These functions may disabled in the php configuration file of some shared hosting server. You can simply manage these function by creating a custom php.ini file under your public folder.

Here is the way to do that 

Step I : Create/Open php.ini file under the public folder of your domain.
Step II : Add the following lines to enable above php functions.

allow_url_fopen = On
allow_url_include = On

that’s it 

  • 0 Users Found This Useful
這篇文章有幫助嗎?

Also Read

How install attracta SEO Tools in cPanel Servers

How to Install Attracta SEO tool Login your SSH via root user cd /usr/local/src wget -N...

How install WHMXTRA in cPanel Servers

How install WHMXTRA in cPanel ServersAccess your ssh as root  wget...

How install Resource Monitor in cPanel Servers

Installation Instructions Step 1: Download the RSMonitor file located at...

How install Softaculous in cpanel Servers

Installing Softaculous Note: Before starting the installation make sure ionCube Loaders are...

Installation of kloxo Control Panel on CentOS 5/6 x86Bit

Hello,Today we will learn how to install kloxo control panel on the CentOS 5.8 Final x86bit...