Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 5953900

Browse files
committed
Updated readme with PHP CLI instructions
1 parent e71d612 commit 5953900

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ php-modules:
6565
```
6666
**Note**: Modules are installed via Ubuntu's Advanced Packaging Tool (APT)
6767

68+
By default, DevBox uses PHP 7.2. To use a different version for PHP CLI, add the `php-cli` property. Supported versions are `5.6`, `7.0`, `7.1` and `7.2`.
69+
```yaml
70+
php-cli: "5.6"
71+
```
72+
**Note**: PHP version 5.5 is also supported for legacy systems. Use `5` as the `php-cli` property.
73+
6874

6975
#### Website
7076
You can set up multiple sites by mapping a url to a root folder on the VM. Sites are configured in the `sites` array. The url is set via the `url` property and the root folder set via the `root` property.
@@ -86,7 +92,6 @@ sites:
8692
root: /path/to/root/folder/on/vm
8793
php: "7.1"
8894
```
89-
9095
**Note**: PHP version 5.5 is also supported for legacy systems. Add `5` to the `php` sites property.
9196

9297
The url must be added to your machines `hosts` file. Example:
@@ -103,7 +108,6 @@ By default, DevBox uses MySQL 5.7. To install an alternative version, add the `m
103108
```yaml
104109
mysql: "5.5"
105110
```
106-
107111
**Note**: These alternative versions are only supported with Ubuntu 14.04.
108112

109113
#### Databases

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ip: "192.168.10.10"
1212
#webserver: apache
1313

1414
# PHP version to use for CLI
15-
#php-cli: "5"
15+
#php-cli: "5.6"
1616

1717
# MySQL version to use
1818
#mysql: "5.5"

0 commit comments

Comments
 (0)