Level 18
Ended up installing a new version of homestead on a different local ip with a different name.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I would like to start using Laravel 5.6 on my Homestead Box. I have updated to the latest vagrant and ran box update however, when I attempt to install 5.6 it fails because my php version is 7.1.1 and not 7.1.3.
Is anyone able to offer advice for how to update to php 7.1.3?
laravel new myapp.dev
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- This package requires php >=7.1.3 but your PHP version (7.1.1) does not satisfy that requirement.
Problem 2
- Installation request for laravel/framework v5.6.3 -> satisfiable by laravel/framework[v5.6.3].
- laravel/framework v5.6.3 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 3
- Installation request for symfony/console v4.0.4 -> satisfiable by symfony/console[v4.0.4].
- symfony/console v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 4
- Installation request for symfony/css-selector v4.0.4 -> satisfiable by symfony/css-selector[v4.0.4].
- symfony/css-selector v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 5
- Installation request for symfony/debug v4.0.4 -> satisfiable by symfony/debug[v4.0.4].
- symfony/debug v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 6
- Installation request for symfony/event-dispatcher v4.0.4 -> satisfiable by symfony/event-dispatcher[v4.0.4].
- symfony/event-dispatcher v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 7
- Installation request for symfony/finder v4.0.4 -> satisfiable by symfony/finder[v4.0.4].
- symfony/finder v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 8
- Installation request for symfony/http-foundation v4.0.4 -> satisfiable by symfony/http-foundation[v4.0.4].
- symfony/http-foundation v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 9
- Installation request for symfony/http-kernel v4.0.4 -> satisfiable by symfony/http-kernel[v4.0.4].
- symfony/http-kernel v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 10
- Installation request for symfony/process v4.0.4 -> satisfiable by symfony/process[v4.0.4].
- symfony/process v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 11
- Installation request for symfony/routing v4.0.4 -> satisfiable by symfony/routing[v4.0.4].
- symfony/routing v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 12
- Installation request for symfony/var-dumper v4.0.4 -> satisfiable by symfony/var-dumper[v4.0.4].
- symfony/var-dumper v4.0.4 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
Problem 13
- laravel/framework v5.6.3 requires php ^7.1.3 -> your PHP version (7.1.1) does not satisfy that requirement.
- laravel/tinker v1.0.3 requires illuminate/console ~5.1 -> satisfiable by laravel/framework[v5.6.3].
- Installation request for laravel/tinker v1.0.3 -> satisfiable by laravel/tinker[v1.0.3].
Application ready! Build something amazing.
Note: When I run sudo apt-get update and then sudo apt-get upgrade I get the following issue.
vagrant@homestead:~/Code$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
snap-confine
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
libdrm-amdgpu1 libdrm2 libegl1-mesa libgbm1 libgd3 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libmirclient9 libssl-dev libssl1.0.0 libwayland-egl1-mesa openssl php7.1-bcmath php7.1-cli php7.1-common
php7.1-curl php7.1-dev php7.1-fpm php7.1-gd php7.1-imap php7.1-intl php7.1-json php7.1-mbstring php7.1-mysql php7.1-opcache php7.1-pgsql php7.1-readline php7.1-soap php7.1-sqlite3 php7.1-xml php7.1-zip
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
Merci
Please or to participate in this conversation.