ALT-PHP includes ImageMagick. To use this version, PHP Selector must be in use.
CageFS and ALT-PHP must both be installed and active:
- First, list the versions of ALT-PHP that are available for use:
- Now run selectorctl with the PHP version and cPanel user you want to set, replacing cpanelusername with the cPanel username you're working with.
/usr/bin/selectorctl --set-user-current=5.1 --user=cpanelusername
- After changing the PHP version, update the CageFS skeleton in a screen session with the following commands:
screen -S updateCageFS
- If PHP-FPM is used, this service must also be restarted