I have a Laravel project that uses a specific library that uses php 7.2.10.
You will need to install php7.2.10 on your server (Does not work with the Laravel library, so will not install a new version of PHP).
I tried the following command but it doesn’t work (I installed a new version of PHP 7.2.24 on the server, maybe I can remove it).
wget http://be.php.net/distributions/php-7.2.10.tar.gz
tar -zxvf php-7.2.10.tar.gz
cd php-7.2.10/
./configure --prefix=/usr/local/bin/php && make && make install
I can´t use version 7.2.24 that is already installed in my server. I need 7.2.10 version
2
Answers
Finally i make it work. I completely remove php7.2 (In my case the installed one was 7.2.24) and then i repeat the command line steps:
After that i enable new php version by
Try diabling unwanted php versions
and enable the version you need