Service management

The AMI provides the following systemd services, which you can control using the usual commands (systemctl status | start | stop):

  • phpX.Y-fpm - Control the several FPM servers (php5.6-fpm, php7.0-fom, php7.1-fpm, and so on…​) (NGINX will reverse proxy to this server)

  • nginx - Control the NGINX web server

In case of failure or unexpected errors, use journalctl -f -u <service> to monitor the services.