Opcode Cache on Litespeed PHP suExec

Discussion in 'General' started by ishobr, Jan 5, 2011.

  1. ishobr

    ishobr Member

    Is there a performance gain by using php opcode (APC) on Litespeed when PHP suEXEC is set to 'Yes'?

    If there is a performance gain, how to get optimal settings?

    In my case, PHP binary was build with LSAPI from Litespeed WHM plugin.
    Last edited: Jan 5, 2011
  2. NiteWave

    NiteWave Administrator

    for php suExec, only eAccelerator is recommended.

    since one php suExec process's "lifetime" is short. the web server process(litespeed) dynamically start/stop a new php process according to the traffic. the in-memory opcode cache only associated with for particular php process which only run for short time.

    eAccelerator is different since it has on-disk cache as well. the on-disk can be shared between different php processes.

Share This Page