Multiple PHP-FPM Processes
-
Are there supposed to be a process for each domain/subdomain? I have 6 php processes running and have 5 sites. Is there a way to make php handle them all or is it supposed to be like this?
Posted 1 year ago # -
php-fpm and nginx should only be one process on your sever i believe. At least that's what i think anyways i'm serving like 2-3 sites with subdomains and i'm not running the multiple processes just 1 of php-fpm and nginx.
Posted 1 year ago # -
Hey guys.. you can run a different php-fpm pool for each virtual host/domain... and you can even chroot (jail) each pool to each domain for security.
If you were running a hosting company, separate php-fpm pools would be the way to go.
If you're on a vps or a dedicated server and it's just you, then you're fine using one pool for all your virtual sites...
Know this thread is old, but am posting for posterity. Good php-fpm info is hard to find, but php-fpm is a damn sweet php server that merits this reply.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
