firstly, i've installed php5 on my system, and i want to upgrade to php7.1 and and then I download the source code from the official website, and I install it.
The installation process was success, when I checked with php -v
, it displayed php7.1
But when I check with phpinfo(), it's still displays the oldest php version
how can it happen where there are two different php versions but not stack each other PHP Version 5.5.9-1ubuntu4.22
Now, the problem is how to use the latest php7.1 on my localhost
thanks beforely, i'm sorry if my questions is unexplicit