Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: groyk on February 01, 2009, 04:56:48 PM
-
Hi I have searched through the forum for finding a solution to change the php.ini file with no success
The only change I need at the moment is to change "memory_limit" from 32MB to 96MB
How do I do that?
-
Hi I have searched through the forum for finding a solution to change the php.ini file with no success
The only change I need at the moment is to change "memory_limit" from 32MB to 96MB
How do I do that?
db configuration setprop php MemoryLimit 96M
expand-template /etc/php.ini
sv t httpd-e-smith
-
This is also documented in the wiki at http://wiki.contribs.org/DB_Variables_Configuration#Php
-
This is also documented in the wiki at http://wiki.contribs.org/DB_Variables_Configuration#Php
Thank you.
What if I change it in /etc/e-smith/templates/php.ini/?
Will this be over ridden when I update?
-
Thank you.
What if I change it in /etc/e-smith/templates/php.ini/?
Will this be over ridden when I update?
You should never do that, changes should only be made to copies in the custom tree to keep the originals and not loose your changes over reboots. Please read up on the templating system SME Server uses for configuration files in the SME Server Developers Guide linked in the wiki.
When there is a database parameter, like for this parameter, there is absolutely no need to modify templates what so ever as the value entered in the database is used.
-
Thank you for your fast reply.
Simon