I can’t upgrade to PHP version 7.2 in a project on Yii2. Virtual car picked up on the vagrant. In the project itself, phpinfo () produces the following result: phpinfo ()

On the PHP 7.2.16-1 + ubuntu16.04.1 + deb.sury.org + 1 (cli) machine itself (cli) (built: Mar 7 2019 20:23:06) (NTS)

After entering the commands sudo service php7.0-fpm stop sudo service php7.2-fpm start

It produces the following error: Mistake

sudo service nginx reload and
sudo service nginx restart Do not help, after restarting the machine, everything is the same. I already broke my whole head, please tell me what I am doing wrong

  • and nginx logs what they say? - fedornabilkin
  • Solved the problem, the error was in the settings of nginx, the version was not the same - Sergey Sukhorukov

0