This is a code snippet or command example to stop PHP 8.1 service in Ubuntu server:
$ sudo service php8.1-fpm stop
If using a systemd based distro like Ubuntu Linux 16.04+ LTS und Debian Linux 8.x+:
$ sudo systemctl stop php8.1-fpm.service
Posted by I. B. Gd Pramana A. Putra, 28 Jun 22, last updated 17 Jul 22
This is a code snippet or command example to stop PHP 8.1 service in Ubuntu server:
$ sudo service php8.1-fpm stop
If using a systemd based distro like Ubuntu Linux 16.04+ LTS und Debian Linux 8.x+:
$ sudo systemctl stop php8.1-fpm.service
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 :)