Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: Smallbox on July 06, 2018, 04:23:41 PM

Title: xcache.ini
Post by: Smallbox on July 06, 2018, 04:23:41 PM
I installed xcache for php56. How can I create a file xcache.ini with my settings?
Title: Re: xcache.ini
Post by: ReetP on July 06, 2018, 06:58:43 PM
No idea where your setting will go, or how you installed php56.

If you used SCL then you need a custom template that will generate a file:

/opt/remi/php56/root/somewhere

if you use php-fpm then I'm not sure.

Please read the wiki on custom templates and the relevant php installation.
Title: Re: xcache.ini
Post by: Smallbox on July 07, 2018, 06:51:16 AM
No idea where your setting will go, or how you installed php56.

If you used SCL then you need a custom template that will generate a file:

/opt/remi/php56/root/somewhere

if you use php-fpm then I'm not sure.

Please read the wiki on custom templates and the relevant php installation.


I used SCL.  How to find out where it is somewhere?
Title: Re: xcache.ini
Post by: mmccarn on July 07, 2018, 04:56:39 PM
The Wiki page for php56 via scl shows the install coming from the remi-safe repo.

The forums on "remirepo.net" indicate that xcache may not be supported:
Hello Remi, I need help with installing xcache. Please help me. Dependency errors :-( (https://forum.remirepo.net/viewtopic.php?id=3561)

Having said that, the remi-safe repo does contain an xcache package (php56-php-xcache.x86_64) that might be what you're looking for.  SCL Advanced Install (https://wiki.contribs.org/PHP_Software_Collections#Advanced_installation) notes say you can probably get it using
Code: [Select]
yum install php56-php-xcache --enablerepo=smecontribs,epel
signal-event php-update; config set UnsavedChanges no