laravel / homestead

MIT License
3.85k stars 1.45k forks source link

Fix reload provision when using php 5.6 #1972

Closed lloricode closed 2 months ago

lloricode commented 2 months ago

it throws an error when using php 5.6

sample

    - map: local.test
      to: /home/vagrant/code/local
      php: "5.6"
    homestead: Composer 2.3.0 dropped support for PHP <7.2.5 and you are running 5.6.40-68+ubuntu22.04.1+deb.sury.org+1, please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.