ok so, Im building a fancy pants wordpress theme and part of the theme has php getting image widths and using those numbers to resize page elements. It works fine on my loca
If you are on cPanel 11.58+ this is an option within the cPanel. You can do enable this by following these steps: 1. Login to cPanel. 2. Select "MultiPHP INI Editor" under the "Software" section 3. Select the domain you want to make this change for from the drop down 4. The first option will be "allow_url_fopen".
If you want to make the above change global in WHM you can so do something similar in multiphpini editor.
However, if you are on an older cPanel version you will have to edit your php.ini manually.
https://documentation.cpanel.net/display/ALD/MultiPHP+INI+Editor+for+cPanel