Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration
Last updated 2 years ago.
0

of cource

the change :

"Update PHP to 5.6."

References:

https://vagrantcloud.com/laravel/homestead/version/9

bye bye :)

Last updated 2 years ago.
0

How update an existing 0.1.7 box to 0.1.8. "vagrant box update" not affect that.

Last updated 2 years ago.
0

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'

Last updated 2 years ago.
0

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?

Last updated 2 years ago.
0

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/

Last updated 2 years ago.
0

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:

  1. run from the terminal "vagrant box update", this will download the new version of the VM.

  2. save all of your custom changes/additions to the environment, like bash aliases, additional packages you've installed and etc.

  3. 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.

  4. and finally, create an instance of VM based on the new version by running "vagrant up".

  5. do not forget to incorporate the changes from step 2.

Best,

Ron.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shpasser shpasser Joined 9 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.