mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-11-26 09:06:44 +07:00
Add support for old PHP versions on darwin
This commit is contained in:
@ -32,7 +32,13 @@ export async function addExtensionDarwin(
|
||||
' ' +
|
||||
prefix;
|
||||
return;
|
||||
case /5\.6xdebug/.test(version_extension):
|
||||
case /5\.3xdebug/.test(version_extension):
|
||||
install_command = 'sudo pecl install -f xdebug-2.2.7' + pipe;
|
||||
break;
|
||||
case /5\.4xdebug/.test(version_extension):
|
||||
install_command = 'sudo pecl install -f xdebug-2.4.1' + pipe;
|
||||
break;
|
||||
case /5\.[5-6]xdebug/.test(version_extension):
|
||||
install_command = 'sudo pecl install -f xdebug-2.5.5' + pipe;
|
||||
break;
|
||||
case /7\.0xdebug/.test(version_extension):
|
||||
|
||||
Reference in New Issue
Block a user