This is an old revision of the document!


Improve PHP performance

Is your PHP running slow? Are you going to run some performance test? If it mainly tests PHP performance, you should install a stable PHP opcode cache. To make PHP opcode cache more efficient, you should use “ProcessGroup” mode. If cloudlinux cagefs is not used, use “Daemon Mode”.

http://www.litespeedtech.com/docs/litespeed-sapi/php-lsapi/guide-to-suexec-setups

If the server has enough free memory, put PHP sessions, opcode cache disk storage under /dev/shm. If server I/O wait is high, enable AIO logging.

  • Admin
  • Last modified: 2015/03/16 13:30
  • by Jackson Zhang