Web >> Development >> PHP >> How to harden PHP in your web hosting environment

in php.ini set the following

# prevent opening remote services
allow_url_fopen=Off