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've installed Xdebug on Centos 6.2. It writes cachgrind files to /tmp just fine, But I want it to write to /tmp/xdebug instead.

I've added this to my php.ini:

xdebug.profiler_output_dir = /tmp/xdebug

and changed the owner of the folder to apache:apache and chmode it to 777.

But, it is not writing any files. When I configure it back to:

xdebug.profiler_output_dir = /tmp

It does write files. How can it be fixed ? thanks.

share|improve this question

If I recall from my other reading correctly, the folder on CentOS for xdebug output needs to be owned by the "nobody" account, not apache.

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.