Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: tiziano on October 19, 2006, 02:49:57 PM
-
Hello,
i modify my file php.ini
but at restart sme modify as clear.
how copy this file for modfy?
/etc/template?
:?:
-
It depends a bit on what exactly you want to modify.
Personally I adjusted the memory limit of PHP. I had to do this by adding an entry to the PHP section in the configuration database:
db configuration setprop php MemoryLimit 128M
If you simply want to add entries to the php.ini file, you create a file in /etc/e-smith/templates-custom/etc/php.ini/ and add the necessary entries to this file.
After these modifications you run a ´/sbin/e-smith/expand-template /etc/php.ini´ and restart your webserver.
-
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
-
ERIC.. sorry but i dont I have not understood.
you can explain better?
-
Before I am going to compose a whole story here: what exactly do you want to modify in your php.ini ?
-
I'm interested too.
I need to change the warning/errors reporting behavior.
error_reporting = E_ALL
Cheers
Tiago Janz
-
Tiago,
This php.ini entry can be found in /etc/e-smith/templates/etc/php.ini/30ErrorHandling .
You just might edit this file and run a ´/sbin/e-smith/expand-template /etc/php.ini´ and restart your webserver. Or you do it the neat way and create /etc/e-smith/templates-custom/etc/php.ini/ , copy the file 30ErrorHandling to this directory, edit the file and perform the same last steps (expand-template and restart webserver).
That's it!
-
Thanks egerards, I'll try later at night.
Cheers
Tiago Janz