Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on Dreamhost PS, using their preset xcache. I need to increase the size of the var memory but can't find the definitions for xcache. Its not in the php.ini file. I searched for xcache files and couldn't find something that looks like xcache settings.

How can I find the right file on the server?

share|improve this question
up vote 1 down vote accepted

Found it at the regular /etc/php5/cgi/php.ini file. I looked at the wrong place.

share|improve this answer
In the future, use either phpinfo() in a script, or php -v to confirm which php.ini it's actually reading from. Sometimes there are a few php.ini's scattered throughout a system, seemingly just to annoy you. – Kyle Smith Oct 18 '09 at 18:53

Under Ubuntu 13.04 it is under /etc/php4/conf.d/20-xcache.ini

The 20- was added recently. It was not present in version 12.04.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.