Comparison of Different PHP suEXEC Setups

LiteSpeed Web Server offers a number of different PHP suEXEC setups for various shared hosters' needs and goals. The following table is offered as a simple guide to choosing the PHP setup right for you and your users.

All of the following setups give you suEXEC security (each PHP process running as the owner of the virtual host's document root). More detailed information on these setups can be found in each setup's documentation.

SetupDescriptionRecommended for
suEXEC Worker Standard suEXEC PHP with LSAPI. Creates new processes when needed. Shared hosting providers with limited resources that want custom php.ini files.
suEXEC Daemon All processes forked from constantly running daemon process for speed and efficiency. All shared hosting providers who do not need custom php.ini files.
suEXEC ProcessGroup Each user account gets a separate process group with a constantly running parent process forking child processes when needed. Shared hosting providers who want to leverage extra RAM into more powerful opcode caching and thus better PHP performance.

Detailed feature comparison

  suEXEC
Worker
suEXEC
Daemon
suEXEC
ProcessGroup
Forks processes instead of spawning new processes No Yes Yes
Number of parent processes 0 1 One for each process group (each user)
Customize number of processes per account? Yes Yes Yes
Can be enabled only for certain virtual hosts? No No Yes
Custom php.ini supported?
(Including CageFS custom php.ini)
Yes No Yes
Opcode caching No Shared throughout server Dedicated per-user

STAY CONNECTED