Page 1 of 1

change the php ini setting in plesk

Posted: Tue Jun 09, 2009 4:54 pm
by sweb
hail i have the plesk cpanel and want to change allow_url_fopen to On with this two method:

1.use ini_set:

Code: Select all

 
ini_set('allow_url_fopen', '1');
 
2.use .htaccess

Code: Select all

 
php_value allow_url_fopen "On"
 
but still when i check with

Code: Select all

 
echo ini_get('allow_url_fopen');
 
there is nothig has been printed. :(

what must i do?

Re: change the php ini setting in plesk

Posted: Wed Jun 10, 2009 3:13 am
by sweb
no one here?

how can i read the xml file in string in another url that my allow_url_fopen is Off ?

please help me!