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’.
Then save changes, after that restart the Apache server to take changes effect.
I hope this article will helps you!
All Plans Includes:
Instant Setup | SSD | Full Root/Administration Access | 1 Free IP | DDoS Protection | SolusVM Control Panel.