Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Lasse Christiansen on October 24, 2003, 04:00:48 AM

Title: how to make permanent additions to /etc/php.ini
Post by: Lasse Christiansen 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
Title: Re: how to make permanent additions to /etc/php.ini
Post by: Ergin 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
Title: Re: how to make permanent additions to /etc/php.ini
Post by: Lasse Christiansen on October 24, 2003, 12:48:11 PM
It worked perfectly. Thanks