Home >PHP Framework >Laravel >Laravel Homestead supports PHP 7
If you are using the Homestead box of PHP 5.x version, you can upgrade to PHP 7.0 by cloning the php-7 branch of laravel/homestead to a new folder:
git clone -b php-7 https://github.com/laravel/homestead.git Homestead
Next add the box directly to the top of the existing Homestead.yaml file:
box: laravel/homestead-7
Finally, you can run the vagrant up command in the directory containing the cloned laravel/homestead repository to start Homestead.
Original address: https://xueyuanjun.com/post/1168.html
The above is the detailed content of Laravel Homestead supports PHP 7. For more information, please follow other related articles on the PHP Chinese website!