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
====
# 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