If i'm not wrong, you have to run "vagrant provision" first when you make such changes
May 22, 2019
9
Level 8
How to change PHP version in homestead
After doing the vagrant up, when I check the php version :
php -v
PHP 7.3.2 (cli) (built: Feb 5 2019 23:16:38) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
Homestead.yaml:
ip: 192.168.10.10
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: 'C:\Users\mabdella\Codes\HighAxions'
to: /home/vagrant/code
sites:
-
map: highaction.test
to: /home/vagrant/code/public
php: "5.6"
databases:
- homestead
name: highaxions
hostname: highaxions
As you can see event the php version value is 5.6 I still have that problem !
Please or to participate in this conversation.