How To Install alt-php Packages In Cloudlinux
Learn how to install alt-php packages in CloudLinux. Step-by-step guide to add multiple PHP versions, update CageFS, and enable them in cPanel
⚠️ Issue
❓ How to install Alt-PHP packages in CloudLinux?
Sometimes, PHP versions are missing in PHP Selector because the required Alt-PHP packages are not installed.
🖥️ Environment
-
CloudLinux
-
PHP Selector
✅ Solution
To install all missing Alt-PHP packages, simply run:
This will download and install:
-
Multiple Alt-PHP versions (5.x → 8.x depending on OS support)
-
Required extensions and configuration files
-
Integration with PHP Selector
After installation, refresh CageFS to ensure everything is available to users:
🐞 Cause
If Alt-PHP is missing, it means the Alt-PHP group packages were not installed during setup or got removed. Installing via yum groupinstall ensures that all available versions are properly registered with PHP Selector.
Share
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0
