In this post, we are going look into how you can activate file_get_contents in php.ini using MultiPHP INI Editor on Cpanel of the website.
Steps to Activate file_get_contents in php.ini
Step 1: Login to your Cpanel.
The first step is for you to visit your Cpanel link and fill in your login username and password in the box and proceed to login.
Subscribe to our newsletter!
After you must have logged in, you then scroll down to the Cpanel Software section.
Step 2: Click and Select the MultiPHP INI Editor.
After clicking on the MultiPHP INI Editor, a new screen will open where you will finish up.
Step 3: Select The Editor Mode
You have to select the editor mode and also select a location, note that the location comprises your domain file directories where you want to activate it.
Step 4: Add the Activation Code
After you have selected the domain file location, a text editor will show up and that’s where you will add the code that will activate file_get_contents in php.ini for your website.
Now the final thing to do is to locate a that has “allow_url_fopen = ” at the editor you saw there or if there is no line of code like that just add “allow_url_fopen = On” and save it then refresh your website.