Skip to content

Commit

Permalink
Shorten Xdebug installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen authored Aug 6, 2024
1 parent e7735d9 commit ff1b743
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ Test with `sudo nginx -t` and if everything is OK, restart nginx.
``` shell
export PATH="$(brew --prefix [email protected])/bin:$PATH"
```
2. Search pecl `find -L "$(brew --prefix [email protected])" -name pecl -o -name pear`
3. Symlink pecl based on result, for example `sudo ln -s /usr/local/opt/[email protected]/bin/pecl /usr/local/bin/pecl`
4. Add executable permissions `sudo chmod +x /usr/local/bin/pecl`
5. Install xdebug `pecl install xdebug` (if you're using 8.3, use this version: `pecl install xdebug-3.1.6`)
6. Check `php --version`, it should display something like this:
2. Install xdebug

```bash
brew install shivammathur/extensions/xdebug@8.3
```

``` shell
$ php --version
Expand Down

0 comments on commit ff1b743

Please sign in to comment.