Upgrade php to 7.2 in ubuntu + nginx Vestacp server
Posted: Wed May 23, 2018 10:26 am
I followed Online tutorial and I installed php 7.2
php -v in terminal gives following output
But phpinfo() in my website still shows php 7.0 , . I tried restarting , still same .Should I mention somewhere so vestacp use php 7.2 ?
php -v in terminal gives following output
Code: Select all
PHP 7.2.5-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 5 2018 04:59:13) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.5-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
Code: Select all
sudo systemctl restart nginx