Jump to content

allow_url_include and allow_url_fopen not working - urgent


prakash

Recommended Posts

I have tried overriding the master value for allow_url_include and allow_url_fopen locally from .htaccess

other overriding value like registry_globals etc were working fine but allow_url_include and allow_url_fopen doesn't works.

 

I have tried same in PHP 5.2.2 and 5.1.6 but it's not working on both.

 

Please let me know how to fix it or which version to downgrade to support it.

Please kindly request to reply ASAP, it's little bit urgent for me.

 

Thanks in advance

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

 

In order to override apache or php needs to allow the init_set override or the .htaccess override. Most hosts (if shared) disable that so people cannot change the settings.

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

 

In order to override apache or php needs to allow the init_set override or the .htaccess override. Most hosts (if shared) disable that so people cannot change the settings.

 

actually I have my own server and currently enabled .htaccess overriding

everything works (eg. registry_globals overriding etc) but allow_url_include and allow_url_fopen is not overriding it's master value.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.