We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
php version in cli Topic is solved
php version in cli
I have used this thread to install multiple php versions.
viewtopic.php?f=19&t=10854
Now I want to install Larevel via composer and it detects 5.6 php version.
How can I change php version in cli?
Best regards!
viewtopic.php?f=19&t=10854
Now I want to install Larevel via composer and it detects 5.6 php version.
How can I change php version in cli?
Best regards!
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: php version in cli
you can usefor example
Code: Select all
php70 /usr/local/composer install
Re: php version in cli
Thank you very much!
That worked!
That worked!
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: php version in cli
To change Default version of PHP-CLI
Code: Select all
update-alternatives --set php /usr/bin/php7.x
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: php version in cli
if I have several projects that use different versions of php, then my version is very good in this case