Thursday, September 15, 2016

PHP compiled over Main PHP version in cPanel Fix

 if you wish to always execute a specific version of PHP from the command line interface when running 'php' you can move the existing /usr/local/bin/php to an alternate location and symlink the desired version
====
# mv -v /usr/local/bin/php{,.53}
# ln -s /opt/cpanel/ea-php55/root/usr/bin/php /usr/local/bin/php

No comments:

Post a Comment