Update troubleshooting.md
parent
271c778300
commit
0c93bc3d0b
|
@ -198,7 +198,7 @@ your setup. This also assumes that you have sudo privileges and the `php5enmod`
|
|||
commands available. It also assumes that you have `composer` in your path.
|
||||
|
||||
```sh
|
||||
echo 'function composer() { COMPOSER="$(which composer)" && sudo php5dismod -s cli xdebug ; $COMPOSER "$@" ; STATUS=$? ; sudo php5enmod -s cli xdebug ; return $STATUS ; }' >> ~/.bash_aliases
|
||||
echo 'function composer() { COMPOSER="$(which composer)" || { echo "Could not find composer in path" ; return 1 ; } && sudo php5dismod -s cli xdebug ; $COMPOSER "$@" ; STATUS=$? ; sudo php5enmod -s cli xdebug ; return $STATUS ; }' >> ~/.bash_aliases
|
||||
. ~/.bash_aliases
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue