tags:

views:

165

answers:

2

Is there a way to change PHP core value "allow_url_fopen" in the PHP script?

On my hosting it is set to 'off' and I need it 'on'.

+6  A: 

No:

Note: This setting can only be set in php.ini due to security reasons.

Milen A. Radev
+1  A: 

You're out of luck unless you have access to the php.ini

allow_url_fopen boolean

...

Note: This setting can only be set in php.ini due to security reasons.

File System Configuraion php.net

Phil Carter