Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.3 doesn't seem to work #115

Open
ludoguenet opened this issue Nov 27, 2023 · 5 comments
Open

PHP 8.3 doesn't seem to work #115

ludoguenet opened this issue Nov 27, 2023 · 5 comments

Comments

@ludoguenet
Copy link

Distro : Linux Mint 21.2
PHP : 8.3
Valet version : ValetLinux+ v1.6.7

Hello,

I'm actually using Valet Linux + and wanted to use it for PHP 8.3.

so I installed PHP 8.3 via apt install php8.3-fpm

Then I composer globale update

It used to work with PHP 8.2 but no longer does when I valet use 8.3 this error message shows up :

reror

@khaled-sadek
Copy link

#114 is supposed to add support to 8.3 but I think it merged but didn't push the release to the packagist

@ludoguenet You can make this small edit and it will work perfectly.

1- go to ~/.config/composer/vendor/genesisweb/valet-linux-plus/cli/Valet
2- edit PhpFpm.php
3- add 8.3 in the array of supported versions

const SUPPORTED_PHP_VERSIONS = [
        '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3',
    ];

@R00TR41Z
Copy link

#114 is supposed to add support to 8.3 but I think it merged but didn't push the release to the packagist

@ludoguenet You can make this small edit and it will work perfectly.

1- go to ~/.config/composer/vendor/genesisweb/valet-linux-plus/cli/Valet 2- edit PhpFpm.php 3- add 8.3 in the array of supported versions

const SUPPORTED_PHP_VERSIONS = [
        '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3',
    ];

Thanks it help me so much

@ludoguenet
Copy link
Author

Thank you so much! I did communicate about it already.

@Stephan-MC
Copy link

Stephan-MC commented Feb 15, 2024

Please am on arch linux and followed the steps above and got the following

error: target not found: php83-fpm

i already installed php-fpm via sudo pacman -S php-fpm and it installed properly.

@khaled-sadek
Copy link

Please am on arch linux and followed the steps above and got the following

error: target not found: php83-fpm

i already installed php-fpm via sudo pacman -S php-fpm and it installed properly.

I'm not sure, but I think your problem is related to the configuration.
try to reboot first then if the problem still happens try valet install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants