of cource
the change :
"Update PHP to 5.6."
References:
https://vagrantcloud.com/laravel/homestead/version/9
bye bye :)
How update an existing 0.1.7 box to 0.1.8. "vagrant box update" not affect that.
angelside said:
How update an existing 0.1.7 box to 0.1.8. "vagrant box update" not affect that.
from the terminal -->go to {homestead folder)--> then --> type 'vagrant box update'
I've updated the box accordingly, but PHP still appears to be version 5.5, do I need to do anything while SSH'd into the box in order to upgrade PHP?
I try, box update command not update existing box. Only update box iso file.
Manual update php 5.5 to php 5.6 :
$ sudo apt-add-repository ppa:ondrej/php5-5.6
$ sudo apt-get update
$ sudo apt-get upgrade
$ php -v
http://coderabbi.github.io/posts/upgrading-laravel-homestead-to-php-56/
Thanks for the link with version notes, it helped a lot.
As for upgrading from 0.1.7 to 0.1.8 and now to 0.1.9:
run from the terminal "vagrant box update", this will download the new version of the VM.
save all of your custom changes/additions to the environment, like bash aliases, additional packages you've installed and etc.
now the hard part, you will have to destroy the existing VM by running "vagrant destroy" from the Homestead directory(where the "Homestead.yaml" is placed). Since the project related files reside in directory shared from the host they will remain.
and finally, create an instance of VM based on the new version by running "vagrant up".
do not forget to incorporate the changes from step 2.
Best,
Ron.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community