• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Stopping Dedicated PHP FPM via CLI for single domain

xero232

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.64 #1
Hi,

I am trying to stop the dedicated PHP-FPM service for a single domain. I have searched the forum and knowledge base but can't seem to find anything related to stopping the service via the command line.

To be clear I want to reproduce going into a domain > php settings > and clicking the red stop button when the domain is running dedicated FPM application served by apache.

I'm able to change the handler by running

Code:
plesk bin domain -u domain -php_handler_id plesk-php82-fpm-dedicated

or disable php support by running

Code:
/usr/sbin/plesk bin site --update domain -php false

but I can't seem to find any command line to stop the dedicated PHP-FPM service like in the plesk web interface.

Could somebody help please?

Thanks
 
Back
Top