基于centos系统安装的vestacp上安装Xcache yum install --enablerepo=remi php-xcache service httpd restart 在ssh中输入php -v查看是否安装上