Koozali.org: home of the SME Server

how to modify php.ini

tiziano

how to modify php.ini
« 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?

 :?:

egerards

how to modify php.ini
« Reply #1 on: October 21, 2006, 10:37:08 PM »
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:

Code: [Select]
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.

Offline byte

  • *
  • 2,183
  • +2/-0
how to modify php.ini
« Reply #2 on: October 22, 2006, 12:04:05 AM »
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

tiziano

how to modify php.ini
« Reply #3 on: October 22, 2006, 11:54:24 AM »
ERIC.. sorry but i dont I have not understood.

you can explain better?

egerards

how to modify php.ini
« Reply #4 on: October 22, 2006, 01:33:18 PM »
Before I am going to compose a whole story here: what exactly do you want to modify in your php.ini ?

trolljanz

how to modify php.ini
« Reply #5 on: October 23, 2006, 11:09:26 AM »
I'm interested too.
I need to change the warning/errors reporting behavior.


error_reporting  =  E_ALL


Cheers

Tiago Janz

egerards

how to modify php.ini
« Reply #6 on: October 23, 2006, 11:18:14 AM »
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!

trolljanz

how to modify php.ini
« Reply #7 on: October 23, 2006, 02:16:03 PM »
Thanks egerards, I'll try later at night.


Cheers

Tiago Janz