How to update PHP version only for ApisCP backend without affecting the sites

Description

I have PHP 7.4 (legacy support), 8.1 (system), and 8.3 (native) and want to switch the Apiscp backend to 8.3 without affecting the sites hosted on it.

I tried to check for it in configurations. There’s php.version and apache.php-version which both mention change system-wide php version. That was confusing and I couldn’t find a proper guide in the documentation and it’s confusing.

Expected Behavior

There should be an option to configure the PHP used by the ApisCP backend only.

Environment

ApisCP version: 3.2.48

revision: 68aab86e58c4bf17f1c4cf210bc8907a03268995
timestamp: 1777559791
ver_pre: ‘’
dirty: false
debug: false
Operating System: 4.18.0-553.120.1.el8_10.x86_64

Additional relevant information : PHP 8.1.34, MySQL (MariaDB): 10.6.25 (10.6.25), PostgreSQL: 14.22

Additional Information

I do not want the system-wide php update to a specific version, just the ApisCP backend

Don’t. It’s version-locked for code consistency.

1 Like