Home  >  Article  >  PHP Framework  >  Laravel Homestead supports PHP 7

Laravel Homestead supports PHP 7

藏色散人
藏色散人forward
2020-04-23 14:11:342711browse

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!

Statement:
This article is reproduced at:xueyuanjun.com. If there is any infringement, please contact admin@php.cn delete