Closed akoshodi closed 1 year ago
Fedora 37 (i3 spin) PHP 8..1 Valet v2.3.0 Ex: Manjaro 18.3 7.3.1 2.2.3 Running
valet install
fails with the error "Unable to find a match: php8.1-fpm" even though php-fpm is installed.I installed fpm using
dnf install php-fpm
which installed version php-fpm-8.1.13 while valet attempts to install it withdnf install php8.1-fpm
which causes it to fail as indicated in the above image
Found a temporary solution inspired by https://github.com/cpriego/valet-linux/issues/402#issuecomment-1373959372
To get dnf to install the PHP modules the way Fedora expects i.e dnf install php-fpm
, replace php{$this->version}-fpm with php-fpm in the install function in ~/.config/composer/vendor/genesisweb/valet-linux/cli/Valet/PhpFpm.php as seen in the screenshot below
@akoshodi Sure, we will look into it and include the needed fix in code.
Thank you.
@akoshodi
Thank you for being patient, we've fixed this in our latest release (1.6.3), please update your local version to fix this from package.
Running
valet install
fails with the error "Unable to find a match: php8.1-fpm" even though php-fpm is installed.I installed fpm using
dnf install php-fpm
which installed version php-fpm-8.1.13 while valet attempts to install it withdnf install php8.1-fpm
which causes it to fail as indicated in the above image