Hola we will work you through on how 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.
![](https://hoganhost.com.ng/blog/wp-content/uploads/2023/10/cP-CL-Select-PHP-Version-icon.gif)
3. Then Click on the Options menu.
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.
Check out our web hosting service hoganhost.com.ng