It is strongly recommended to use PHP-FPM behind NGINX, at least for production.
Do the following installation instructions.
Afterwards install the following packages.
Now install the needed PHP packages.
Additionally there are some extensions to install.
If STOMP (message queueing) is needed, then the following extension is needed too.
Set into operation.