Enable allow_url_fopen through WHM panel

PHP is a scripting language used by developers to build websites. ‘url_fopen’ refers to a PHP directive allowing files to be included from external sources. It will creates the security risk for all domains hosted on the servers by enabling the allow_url_fopen.
- Go to WHM panel
- Search MultiPHP INI Editor
- Select Editor Mode then select the php version in Edit the INI settings of a PHP version
- Search allow_url_fopen, make it as On as follows below:
Note: If your website does not require ‘allow_url_fopen’ you can simply make that directive is set to ‘Off’.
Allow_url_fopen: On
Then save changes, after that restart the Apache server to take changes effect.

I hope this article will helps you!

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

How to Reset MySQL root Password

To provide multi user access to number of databases a relation database management system is been...

Moving Tables from One MySQL Database to Another Using Command Line Interface

Moving all of the tables from one mysql database to another is very easy. It can be done using...

How to Create and Grant the MySQL Database User

How to Create and Grant MySQL Database USER STEP 1: We need to login to the MySQL prompt using...

How to change the permission for Files in cPanel

All files on UNIX (including Linux and other UNIX variants) machines have access permissions.In...

How to Create and Grant Database User in MySQL

STEP 1: We need to login the MySQL prompt using below command because all operation will be...

Powered by WHMCompleteSolution