Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers

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
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 '09 at 18:53
add comment

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

Your Answer

 
discard

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.