3

I am trying to install Drush by using $ composer global require drush/drush:8.* through the Git-bash CLI, but I get a segmentation fault error:

/c/ProgramData/ComposerSetup/bin/composer: line 18: 10444 Segmentation fault php "${dir}/composer.phar" $*

I am on a Windows 10 computer.

Anyone have any ideas how to resolve this?

domt
  • 43
  • 1
  • 5

1 Answers1

0

It may be the problem, that PHP takes too much resources, PHP could be compiled with the unsupported settings (php -i | head), it's caused by some extensions (e.g. caching or XDebug, check by: php -i | grep xdebug) or simply a PHP bug.

To fix it, revert your php.ini into default settings (see GH #2839) as it may be misconfigured, alternatively disable unnecessary extensions (such as XDebug) or try to upgrade your PHP into newer version.

Community
  • 1
  • 1
kenorb
  • 155,785
  • 88
  • 678
  • 743