I am running a server with Plesk which supports multiple PHP versions. Some websites run the default Ubuntu PHP 5.6.20 and others the PHP 7.0.9 that comes with Plesk.
I am trying to install Phalcon 3 on the 7.0.9 and for that I have added the following to the root .bashrc and rebooted:
php -v shows 7.0.9 instead of 5.6.20.
However, when I run
./install, it still compiles Phalcon for the old 5.6.20. It shows up on phpinfo for 5.6.20 but not for 7.0.9. If I run
php -v now it returns some errors (because it was compiled for an older PHP of course). Anyone?