zpanel / zpanelx

ZPanel is a web hosting control panel written in PHP for Windows and *NIX host OS's.
http://www.zpanelcp.com
Other
414 stars 296 forks source link

Nginx + php-fpm + OPCache #241

Closed ignasbernotas closed 9 years ago

ignasbernotas commented 9 years ago

For most of my projects, I've switched from Apache + mod_php to Nginx + php-fpm because of it's performance. And the performance gain is truly visible, reduced CPU+RAM, higher concurrent requests/second for high load apps.

The Zend OPCache module that comes by default in PHP5.5 should also be enabled, it reduces page load time by around 30%.

Maybe someone would like to join me in building a mod for Nginx?

allebb commented 9 years ago

Hi Ignas,

I could not agree with you more with regards to LEMP stack performance over LAMP.... Apache does however provide better support for users to add custom rewrite rules at runtime as opposed to the current model that nginx supports and although it's do-able it's a lot more work initially, I'd also be pushing custom user-specific FPM pools for performance and security reasons.

I'd be really happy to see a module for Nginx + FPM in ZPanelX/Sentora I but and like I say, I'll be adding this functionality into Sentora II :)

On 31 July 2014 00:40, Ignas Bernotas notifications@github.com wrote:

For most of my projects, I've switched from Apache + mod_php to Nginx + php-fpm because of it's performance. And the performance gain is truly visible, reduced CPU+RAM, higher concurrent requests/second for high load apps.

The Zend OPCache module that comes by default in PHP5.5 should also be enabled, it reduces page load time by around 30%.

Maybe someone would like to join me in building a mod for Nginx?

— Reply to this email directly or view it on GitHub https://github.com/zpanel/zpanelx/issues/241.

allebb commented 9 years ago

Closing issue as per my advise above, this would not be implemented into the 'core' of ZPanelX but is planned as a core module for Sentora II. More than happy for this to be developed by the community as an 'add-on' module for ZPanel though.

Closing issue in an attempt to keep the 'issues' manageable :)