Skip to content

Commit

Permalink
docs: add note regarding the workaround for PHP7.2 missing tidy-html5…
Browse files Browse the repository at this point in the history
… lib
  • Loading branch information
hnsr committed Oct 25, 2021
1 parent 8404a16 commit fb3d7ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.mysqldata
.esdata
.idea
*~

/vendor/
/node_modules/
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,19 @@ locally.
# Magento 2.4 (for 2.3, see the 2.x branch)
# Cleans existing brew php (will not remove Valet stuff) + installs php on OSX!
curl -s https://raw.githubusercontent.com/ho-nl/docker-development-box/master/install.sh | bash -s -- -i
brew reinstall tidy-html5
```

It will (re)install multiple php-fpm services, one for each version (port: 9072,
9073, 9074) and one for each version with xdebug (port: 9172, 9173, 9174).

In case the PHP 7.2 services are not started correctly after running the `install.sh` script above,
you may be running into https://github.com/shivammathur/homebrew-php/issues/404. To work around this,
reinstall `tidy-html5`:

```bash
brew reinstall tidy-html5
```

#### Switch PHP versions

```bash
Expand Down

0 comments on commit fb3d7ce

Please sign in to comment.