diff --git a/cli/Valet/Pecl.php b/cli/Valet/Pecl.php index 5ae23f8b..d30850cc 100644 --- a/cli/Valet/Pecl.php +++ b/cli/Valet/Pecl.php @@ -46,6 +46,7 @@ class Pecl extends AbstractPecl */ const EXTENSIONS = [ self::XDEBUG_EXTENSION => [ + '8.3' => '3.3.0', '8.2' => '3.1.5', '8.1' => '3.1.5', '8.0' => '3.1.5', @@ -67,6 +68,7 @@ class Pecl extends AbstractPecl 'extension_type' => self::NORMAL_EXTENSION_TYPE ], self::GEOIP_EXTENSION => [ + '8.3' => false, //todo; will probably be 1.1.2 '8.2' => false, //todo; will probably be 1.1.2 '8.1' => false, //todo; will probably be 1.1.2 '8.0' => false, //todo; will probably be 1.1.2 diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index d4329077..9fd302a6 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -15,6 +15,7 @@ class PhpFpm const PHP_V80_VERSION = '8.0'; const PHP_V81_VERSION = '8.1'; const PHP_V82_VERSION = '8.2'; + const PHP_V83_VERSION = '8.3'; const SUPPORTED_PHP_FORMULAE = [ self::PHP_V71_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V71_VERSION, @@ -23,13 +24,16 @@ class PhpFpm self::PHP_V74_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V74_VERSION, self::PHP_V80_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V80_VERSION, self::PHP_V81_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V81_VERSION, - self::PHP_V82_VERSION => self::PHP_FORMULA_NAME + self::PHP_V82_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V82_VERSION, + self::PHP_V83_VERSION => self::PHP_FORMULA_NAME ]; const EOL_PHP_VERSIONS = [ self::PHP_V71_VERSION, self::PHP_V72_VERSION, - self::PHP_V73_VERSION + self::PHP_V73_VERSION, + self::PHP_V74_VERSION, + self::PHP_V80_VERSION ]; const LOCAL_PHP_FOLDER = '/etc/php/'; @@ -152,6 +156,7 @@ public function fpmConfigPath() { $brewPath = $this->architecture->getBrewPath(); $confLookup = [ + self::PHP_V83_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.3/php-fpm.d/www.conf', self::PHP_V82_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.2/php-fpm.d/www.conf', self::PHP_V81_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.1/php-fpm.d/www.conf', self::PHP_V80_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.0/php-fpm.d/www.conf',