Introduction
ALT-PHP includes ImageMagick. To use this version, PHP Selector must be in use.
Prerequisites
CageFS and ALT-PHP must both be installed and active:
Procedure
- First, list the versions of ALT-PHP that are available for use:
/usr/bin/selectorctl --summary
- 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
cagefsctl -u
- If PHP-FPM is used, this service must also be restarted
/scripts/restartsrv_apache_php_fpm
Comments
0 comments
Article is closed for comments.