Activate file_get_contents in php.ini

How to activate file_get_contents in php.ini

PHP How To

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

Activate file_get_contents in php.ini
Login to your Cpanel

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.

Activate file_get_contents in php.ini

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.

Activate file_get_contents in php.ini

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.

Activate file_get_contents in php.ini

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.

ALSO SEE: How To Set Up Your Own Web Development Environment In Windows.

Please share, follow and like us:
error0
fb-share-icon20
Tweet 20
fb-share-icon20

0 thoughts on “How to activate file_get_contents in php.ini

Leave a Reply

Your email address will not be published. Required fields are marked *