How To Fix SourceGuardian loader for alt-phpXX is missing

Fix the SourceGuardian loader for alt-phpXX is missing error in CloudLinux. Step-by-step guide to install and enable SourceGuardian loaders for alt-php

How To Fix SourceGuardian loader for alt-phpXX is missing

⚠️ Issue

🔐 SourceGuardian loader for Alt-PHP is missing
When trying to run encoded scripts, SourceGuardian isn’t available in the PHP Selector or loaded into Alt-PHP.


🖥️ Environment

  • CloudLinux

  • PHP Selector

  • Alt-PHP


✅ Solution

Install the SourceGuardian loader package for the specific PHP version.
Replace XX with your PHP version (e.g., 81, 82):

# yum install alt-phpXX-sourceguardian 

👉 Example for PHP 8.1:

# yum install alt-php81-sourceguardian 

👉 Example for PHP 8.2:

# yum install alt-php82-sourceguardian 

After installation, update CageFS so the extension becomes available for all users:

# cagefsctl --force-update 

🐞 Cause

SourceGuardian loaders are not shipped by default with Alt-PHP. They must be installed separately for each PHP version using the CloudLinux package manager.

Share

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0