Koozali.org: home of the SME Server

how to make permanent additions to /etc/php.ini

Lasse Christiansen

how to make permanent additions to /etc/php.ini
« on: October 24, 2003, 04:00:48 AM »
Hi all,

I just recently installed the php Accelerator which was a breeze to install and get to work.

But to make it work i need to add a line to php.ini.

I i do that and restart the http server everything works just fine. But after a reboot or something else (i actually do not have a clue) the added line apparantly dissapears.

Do anyone know how to make permanent changes to php.ini ?

Regards

Lasse

Ergin

Re: how to make permanent additions to /etc/php.ini
« Reply #1 on: October 24, 2003, 10:20:49 AM »
You would have to add the new parameters for PHPA in

/etc/e-smith/templates-custum/etc/php.ini/

create a new file with PHPA config

then run

# /sbin/e-smith/expand-template /etc/php.ini

Lasse Christiansen

Re: how to make permanent additions to /etc/php.ini
« Reply #2 on: October 24, 2003, 12:48:11 PM »
It worked perfectly. Thanks