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?

2 Answers 2


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

  • 2
    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, 2009 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .