How to bulk Restart PHP Containers via ApiMachine using ApiMachine 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 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How to Bulk Enable Force SSL Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Enable Redis Caching Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Generate Mail SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Generate SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Generate an API Token for cPFence, and Is It Required?

The cPFence API token must be generated in your Enhance Control Panel. Follow the steps below to...