Skip to content

Commit daa2368

Browse files
committed
GettingStarted: Update instructions to PHP 7.2
PHP 7.1 is no longer supported, and the project targets PHP 7.2 according to .travis.yml
1 parent 0decf16 commit daa2368

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/GettingStarted.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# Getting Started
22

3-
## Set up your PHP Environment (PHP 7.1 and Composer)
3+
## Set up your PHP Environment (PHP 7.2 and Composer)
44
Any version of PHP 7 should work, but as we are still in our early
5-
stages, the "golden path" for now will be PHP 7.1
5+
stages, the "golden path" for now will be PHP 7.2
66

77
### Windows
8-
1. Download [PHP 7.1](http://windows.php.net/download#php-7.1)
8+
1. Download [PHP 7.2](http://windows.php.net/download#php-7.2)
99
2. Download and install [Composer](https://getcomposer.org/download/)
1010

1111
Ensure your version of PHP is properly configured by running `php -v` in the command prompt.
12-
If it's not PHP 7.1, then you have a few different options for how to access it:
13-
1. reference it directly: `c:\PHP7.1\php.exe -v`
12+
If it's not PHP 7.2, then you have a few different options for how to access it:
13+
1. reference it directly: `c:\PHP7.2\php.exe -v`
1414
2. Prepend the directory to your system `PATH`
15-
3. create an alias using `doskey`: `doskey php7="C:\PHP7.1\php.exe" $*`
15+
3. create an alias using `doskey`: `doskey php7="C:\PHP7.2\php.exe" $*`
1616

1717
### Mac
1818
1. Install [Homebrew](http://brew.sh/)
19-
2. Install PHP 7.1 and Composer
19+
2. Install PHP 7.2 and Composer
2020
```
21-
brew install php@7.1
21+
brew install php@7.2
2222
brew install composer
2323
```
2424

25-
Ensure your version of PHP is properly configured by running `php -v`.
25+
Ensure your version of PHP is properly configured by running `php -v`.
2626
If it's not PHP7, then you have a few different options for how to access it:
27-
1. reference it directly: `/usr/local/Cellar/php71/7.1.0_11/bin/php -v`
28-
2. alias it in your `~/.bash_profile`: `alias php7=/usr/local/Cellar/php71/7.1.0_11/bin/php`
27+
1. reference it directly: `/usr/local/Cellar/php@7.2/7.2.30/bin/php -v`
28+
2. alias it in your `~/.bash_profile`: `alias php7=/usr/local/Cellar/php@7.2/7.2.30/bin/php`
2929
3. add it to your PATH in `~/.bash_profile`: `export PATH="/usr/local/sbin:$PATH"`
3030

3131
## Reference `tolerant-php-parser` from your PHP project

0 commit comments

Comments
 (0)