Enable/Disable PHP’s allow_url_fopen using Cloudlinux Selector in cPanel

You can use CloudLinux Selector to enable/disable the allow_url_fopen directive in cPanel.


1. Firstly log into your cPanel account.

2. After that go to the Software section and click the Select PHP Version.

php version


3. Then Click on the Options menu.

php selector options

Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.


4. Finally to enable allow_url_fopen, check the allow_url_fopen box. To disable it, uncheck it.

enable\disable allow_url_fopen

Visit our blog for more knowledgebase articles !