How to bulk Restart PHP Containers via ApiMachine using cPFence Tools?

Restart PHP Container (WebUI Method)

 

  1. Sign in to cPFence WebUI ➜ Tools & UtilitiesApiMachine Bulk Tools.
  2. Enable the domain selector if you want to restart PHP for specific sites; otherwise leave it unchecked.
  3. Open Bulk Restart PHP Container and click Run Bulk Restart PHP Container.
  4. Watch the streaming output to confirm each domain’s container restart succeeded.

Use this after updating php.ini, Redis settings, or PHP extensions cluster-wide.

Command Line (CLI) Method

  1. SSH into the Main Control Panel server.
  2. Restart PHP for every domain:
    cpfence --bulk-restart-php-container

Plan restarts during low-traffic windows to avoid brief service interruptions.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to bulk Activate a WordPress Theme by Slug using cPFence Tools?

Activate Theme by Slug (WebUI Method)   Open cPFence WebUI and select the target server. Go...

How to bulk Update All WordPress Components using cPFence Tools?

Bulk Update WordPress (WebUI Method)   Log into the cPFence WebUI and choose the server you...

How to bulk Clear LiteSpeed Cache using cPFence Tools?

Purge LiteSpeed Cache (WebUI Method)   Open the cPFence WebUI and select the desired server....

How to bulk Clear Nginx FastCGI Cache using cPFence Tools?

Clear Nginx Cache (WebUI Method)   Log into cPFence WebUI ➜ Tools & Utilities ➜...

How to bulk Configure the LiteSpeed Plugin using cPFence Tools?

Apply LiteSpeed Presets (WebUI Method)   Open cPFence WebUI and select the relevant server....