2

I just update laravel homestead to latest version v10.17.0. Also I update virtual box and vagrant. Related to laravel homestead documentation php 8 should be supported but I wasn't able to setup.

PHP 7.4 is still default version but that is not a problem because I want to use version 8 only for one project and I set php: '8.0' in Homestead.yaml for specific site but there is no impact at all. I also see there is a function for switching to version 8 in vagrant but I get command not found.

Does anyone have an idea?

IMSoP
  • 89,526
  • 13
  • 117
  • 169
knubbe
  • 1,132
  • 2
  • 12
  • 21
  • Does this answer your question? [Change Laravel Homestead v7.0.1 with php 7.2 to php 7.1](https://stackoverflow.com/questions/47849825/change-laravel-homestead-v7-0-1-with-php-7-2-to-php-7-1) – adampweb Dec 26 '20 at 14:34
  • no, I also try that but if you see update from July 2020 in newer version you have this function but for php80 that is not working. `command not found` – knubbe Dec 26 '20 at 14:35
  • I'm also having this issue. I started a new laravel project on a fresh homestead box and getting all kinds of errors when trying to run php artisan. Shows a ton of deprecated methods and exceptions. – LetTheWritersWrite Dec 29 '20 at 17:48
  • I didn't find any solution, still – knubbe Dec 29 '20 at 17:56
  • I ended up rolling back to php 7.4 with the help of Adam P. 's link above. Seems like php 8 breaks several things. I also made sure I started on a fresh laravel 8 project this time. – LetTheWritersWrite Dec 30 '20 at 22:48

0 Answers0