- Killer feature of cPanel/WHM is multi-php.
- Mainly because multi-php allows you to enable php-fpm with a single UI toggle.
- Switching on php-fpm is basically zero-config in cPanel — enable it and the web server just starts using php-fpm.
- (still not sure what goes on under the hood, which is a bit concerning, but i'm taking whatever i can get)
- For comparison, setting this up without cPanel requires:
- setting up apache to serve php application to php-fpm endpoint at
:9000
- setting up a reverse proxy that hits the php-fpm endpoint at :9000 and serves the processed content to
:80
and:443
- so we need install and configure: php-fpm, webserver1 that serves the php-fpm endpoint,
webserver2 that reverse-proxies requests from
:80
and:443
towebserver1:9000
.
- setting up apache to serve php application to php-fpm endpoint at
- currently tracking performance improvements, but am optimistic.
Created
September 29, 2019 10:52
-
-
Save zeddee/0e24c968b820ac3eca92e7c4c1698dac to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment