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

Laravel Homestead supports PHP 7

藏色散人
Release: 2020-04-23 14:11:34
forward
2829 people have browsed it

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
Copy after login

Next add the box directly to the top of the existing Homestead.yaml file:

box: laravel/homestead-7
Copy after login

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!

Related labels:
source:xueyuanjun.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template