Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: AlexG on January 08, 2008, 10:44:42 AM
-
Hi Forum
How do I change in the php.ini the value allow_url_fopen to enabled?
Best regards
AlexG
-
Hi Forum
How do I change in the php.ini the value allow_url_fopen to enabled?
Best regards
AlexG
Create a copy of the original template in the template-custom tree, modify the parameters and regenerate the template, restart the webserver. For more details on the templating system see the SME Server Developers Guide linked from the wiki.
-
Thank you, the way how to change is clear. But in the file 65FopenWrappers appears
{
return "allow_url_open = $php(AllowUrlFopen)";
}
Where do I have to change it to enabled?
-
AlexG
This is set with a db command.
Use the command here
http://wiki.contribs.org/DB_Variables_Configuration#Php
and replace the variable and value
eg
db configuration setprop php AllowUrlFopen On
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
-
Thank you, it works. :smile: