How to bulk Update PHP Version Across the Cluster using ApiMachine Tools?

Update PHP Version (WebUI Method)

 

  1. Log into cPFence WebUI on the Main Control Panel.
  2. Open Tools & UtilitiesApiMachine Bulk ToolsBulk Update PHP Version.
  3. Select the desired PHP build from the dropdown (PHP 8.4–5.2 options are available).
  4. If you only want to update certain domains, enable Run on specific domains only and pick them first.
  5. Click Update PHP Version and monitor the stream for Enhance API results per domain.

Coordinate version upgrades with your development teams so incompatible sites aren’t upgraded accidentally.

Command Line (CLI) Method

  1. SSH into the Main Control Panel server.
  2. Pass the PHP version ID (example updates everyone to PHP 8.3):
    cpfence --bulk-update-php-version php83

 


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 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...