Which PHP accelerator to use with prefork mpm (CentOS and RedHat default httpd settings)

Posted by FractalizeR on Server Fault See other posts from Server Fault or by FractalizeR
Published on 2010-04-18T19:23:12Z Indexed on 2010/04/18 19:33 UTC
Read the original article Hit count: 472

Hello.

As you know, even if it is possible to start httpd in worker mode under CentOS/RedHat, php in default rpm repo is not thread-safe. And the default configuration for stability is mpm_prefork. So, two questions:

  • Is there PHP accelerator capable of working in mpm_prefork mode (using shm or whatever)?

  • If there is none, what can be done to improve PHP speed on CentOS/RedHat systems (I want to use rpms, preferably from default CentOS repo; building custom PHP from source code is not a good option for me)

© Server Fault or respective owner

Related posts about php

Related posts about php-accelerator