Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 just want to know why people say eAccelerator won't work if SuPHP is enabled, because in my server I was running e-accelerator and now i have enabled suphp and it seems to be working fine so far at least ...

Questions are

  1. is this a good idea to run both ?
  2. if i am to disable the e-accelerator how do i do that ?
  3. is there any alternative to do acceleration other than the e-accelerator when using suphp ?
  4. What the tips for making the webserver fast with php ?
  5. Any idea of the performance and recommendation of the XCache opcode ?
share|improve this question
up vote 5 down vote accepted

SuPHP requires a script to run as a specific user, given this I am not sure if using SuPHP in your environment is a requirement or not.

  1. It is not a good idea because they do not work well together.
  2. Disable eaccelerator in your php.ini file
  3. There are no accelerators that work well with SuPHP. I believe this has to do with how suPHP works, and because it starts and stops PHP as it needs. All the accelerators require persistent PHP.
  4. If you are able to not use SuPHP, then I would highly consider using APC - see here
  5. XCache does not work with SuPHP either to my knowledge

Look into FastCGI as it allows for caching to be setup and has lower overhead than SuPHP

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.