Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP

4 thoughts on “Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP”

  1. I got this line off of hack (hhvm) installation on debian:
    sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60
    It seems to work better than symlinking manually and debian recommends it

    so, maybe change the symlink command to this:

    sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/php70 60

Leave a Reply

Your email address will not be published. Required fields are marked *