Skip to content

Commit ece18cf

Browse files
authored
Merge pull request laravel#3480 from svpernova09/feature/homestead-clarification
📚 Clarifying multi php versions on apache and older versions of php
2 parents 375eb7f + 1349470 commit ece18cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

homestead.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ After running the command, you will see an Ngrok screen appear which contains th
338338
<a name="multiple-php-versions"></a>
339339
### Multiple PHP Versions
340340

341+
> {note} This feature is only compatible with Nginx.
342+
341343
Homestead 6 introduced support for multiple versions of PHP on the same virtual machine. You may specify which version of PHP to use for a given site within your `Homestead.yaml` file. The available PHP versions are: "5.6", "7.0", and "7.1":
342344

343345
sites:
@@ -389,6 +391,8 @@ If you have installed Homestead via your project's `composer.json` file, you sho
389391
<a name="old-versions"></a>
390392
## Old Versions
391393

394+
> {tip} If you need an older version of PHP check the documentation on <a href="#multiple-php-versions">multiple PHP versions</a> before attempting to use an old version of Homestead.
395+
392396
You can easily override the version of the box that Homestead uses by adding the following line to your `Homestead.yaml` file:
393397

394398
version: 0.6.0

0 commit comments

Comments
 (0)