Snippets

Start PHP7.x-FPM in Ubuntu

Posted by I. B. Gd Pramana A. Putra, 28 Jun 22, last updated 17 Jul 22

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.

I love sharing code snippets as most of the time, a quick code example is what we're looking for instead of long-written articles. If you think my code snippets are helpful and save you a lot of time, please consider buying me a cup of coffee :)

Support me via · paypal · buymeacoffee · ko-fi · trakteer
Contributed Snippets
Answer & Responses
    No comments yet

Wanna write a response?

You have to login before write a comment to this post.