Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: msilkjr on March 27, 2004, 02:54:54 AM
-
Help All
How do you enable Remote file handling(allow_url_fopen)in php.ini , which template and what do I edit it to. Soory all I cant figure it out
-
I would also like to know what is considered the best way to change 'allow_url_fopen' in php.ini
I can see that the value is set in
/etc/e-smith/templates/etc/php.ini/65FopenWrappers
Which contains:
{
return "allow_url_fopen = $php{AllowUrlFopen}";
}
One bad way woud be to change this template to:
{ allow_url_fopen = On }
Another better way would be to create a custom-template
/etc/e-smith/templates-custom/etc/php.ini/65FopenWrappers
Which contains:
{
allow_url_fopen = On
}
Is there a better way?
-
heres how you should do it...all you have to do is type the following at root prompt
# /sbin/e-smith/db configuration set php service AllowUrlFopen On status enabled
# /sbin/e-smith/expand-template /etc/php.ini
# service httpd restart
HTH
T