Additional PHP version PHP-FPM restart  [SOLVED]

General discussions around KeyHelp.
Post Reply
TLoF
Posts: 3
Joined: Fri 21. Feb 2020, 11:24

Additional PHP version PHP-FPM restart

Post by TLoF »

Hello,

I would like to restart the additonal php8.1-fpm on the system from command line. But the systemd says not found. I can restart it from the GUI, but one of the sites bad code stuck so i need to do from a shell script.

Any idea how to do this?

Debian 11, latest keyhelp (23)

Tamás
User avatar
Florian
Keyweb AG
Posts: 1243
Joined: Wed 20. Jan 2016, 02:28

Re: Additional PHP version PHP-FPM restart  [SOLVED]

Post by Florian »

Hallo,

Code: Select all

/etc/init.d/keyhelp-php81-fpm restart
or

Code: Select all

systemctl restart  keyhelp-php81-fpm.service
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Additional PHP version PHP-FPM restart

Post by 24unix »

Ich würde mich nicht drauf verlassen, das SysV init-Scripte ewig unterstützt werden.

Code: Select all

systemctl restart keyhelp-php81-fpm.service
systemd ist gekommen um zu bleiben …
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Post Reply