cancel
Showing results for 
Search instead for 
Did you mean: 

Error during installation with PHP 8.1

Error during installation with PHP 8.1

Running PHP 8.1

Nginx 1.8 with php-fpm

 

sudo composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /var/www/magento2

 

I get this:

 

    - magento/product-community-edition 2.4.3-p1 requires php ~7.3.0||~7.4.0 -> your php version (8.1.3) does not satisfy that requirement.

 

when I check this table: https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html

 

it says 2.4.5 exists... and 2.4.3 is installed by composer??

 

What is going on?

 

 

2 REPLIES 2

Re: Error during installation with PHP 8.1

Got my answer. Those Versions are not supported yet! (We are still at Magento 2.4.3 for stable)  I uninstalled php8.1-fpm and replaced it with php7.4-fpm.

 

Magento 2 should have a very clear installation instructions updated and simplified instead of me looking all around to find out.

 

 

 

Re: Error during installation with PHP 8.1

Tried now with php8.1 M2.4.4 .. composer still not running on php8.1