在 macOS 上安装 Composer 时出错(JIT 编译失败)
当我在macOS终端中运行时,我收到以下错误。composer --version
PHP 警告:preg_match(): JIT 编译失败: phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php 第 755 行上没有更多内存
Warning: preg_match(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
在第 755 行 PHP 警告: preg_match(): JIT 编译失败: phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php 第 759 行上没有更多内存
Warning: preg_match(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
在第 759 行 PHP 警告: preg_split(): JIT 编译失败: phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php 在第 654 行上没有更多内存
Warning: preg_split(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
在第 654 行 PHP 警告: preg_split(): JIT 编译失败: phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php 行 1091 上没有更多内存
Warning: preg_split(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Application.php
在第 1091 行 PHP 警告: preg_replace(): JIT 编译失败: phar:///usr/local/bin/composer.phar/vendor/symfony/console/Formatter/OutputFormatter.php 在第 36 行上没有更多内存
Warning: preg_replace(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer.phar/vendor/symfony/console/Formatter/OutputFormatter.php
在36号线
[ErrorException] preg_match_all(): JIT compilation failed: no more memory