Koozali.org: home of the SME Server

xcache.ini

Offline Smallbox

  • 16
  • +0/-0
xcache.ini
« on: July 06, 2018, 04:23:41 PM »
I installed xcache for php56. How can I create a file xcache.ini with my settings?

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: xcache.ini
« Reply #1 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Smallbox

  • 16
  • +0/-0
Re: xcache.ini
« Reply #2 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?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: xcache.ini
« Reply #3 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 :-(

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 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