Can we set "allow_url_fopen" "ON" by using the ini_set() function in php [duplicate]
you can't, "allow_url_fopen" has the changable mode PHP_INI_SYSTEM
Entry can be set in php.ini or httpd.conf
and not by ini_set()
http://www.php.net/manual/en/configuration.changes.modes.php