This is a command that you can use to start PHP7.x-FPM service in Ubuntu server:
$ sudo service php7.x-fpm start
If using a systemd based distro like Ubuntu Linux 16.04+ LTS or Debian Linux 8.x+:
$ sudo systemctl start php7.x-fpm.service
This command snippet applies for the following PHP version:
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4
Change the x
symbol with the actual PHP version that you currently use.