change the php ini setting in plesk

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sweb
Forum Newbie
Posts: 18
Joined: Tue Oct 30, 2007 6:32 am
Location: Iran (Semnan)

change the php ini setting in plesk

Post 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?
sweb
Forum Newbie
Posts: 18
Joined: Tue Oct 30, 2007 6:32 am
Location: Iran (Semnan)

Re: change the php ini setting in plesk

Post 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!
Post Reply