• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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