Answer the question
In order to leave comments, you need to log in
Why are different php versions shown in phpinfo() and through php -v?
Good afternoon everyone!
Installed VestaCP using the config:
bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname ---.ru --email [email protected] --password ---
Answer the question
In order to leave comments, you need to log in
In short, I decided to take advantage of CentOS. Maybe someone will need instructions for upgrading to PHP7 on VestaCP for CentOS 7
Installed the panel, then follow this instruction:
https://webtatic.com/packages/php70/
added a couple of repositories and in two lines of code:
yum install yum-plugin-replace
yum replace php-common --replace-with=php70w-common
I would believe both, 1 version is called through the console, another one is connected in the server config.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question