cancel
Showing results for 
Search instead for 
Did you mean: 

Error Uploading Magento 2.4 Extension – PHP 8.4 Requirement?

SOLVED

Error Uploading Magento 2.4 Extension – PHP 8.4 Requirement?

We're seeing a new error when uploading our extension to the developer portal:

Screenshot 2025-07-08 at 12.57.47 PM.png

 

Our composer.json includes:

"require": {
    "php": "~8.1.0||~8.2.0||~8.3.0"
},
"type": "magento2-module",

We don't support PHP 8.4 yet, as our test environment only goes up to 8.3. Has PHP 8.4 become a requirement for submissions? If so, is there a way to bypass this until we update our environment?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error Uploading Magento 2.4 Extension – PHP 8.4 Requirement?

Hi @alexbreadf ,

Yes, behind the scenes the Marketplace validators have just been updated to expect Magento 2.4‑compatible extensions to declare support for PHP 8.4, since Adobe Commerce 2.4.8 (and higher) itself now runs on PHP 8.4.

Reference:

https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/adobe-commerce/2-4-8

https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/system-requirement...

 

Not sure but until you can upgrade your dev boxes or CI runners to PHP 8.4, you can try below

In your composer.json change:

From

"php": "~8.1.0||~8.2.0||~8.3.0"
To

"php": "~8.1.0||~8.2.0||~8.3.0||~8.4.0"

This satisfies the portal’s check.

 

Or you can raise this with Adobe support as well to get more information.

 

Problem Solved? Accept as Solution!

 

Thanks,

Ankit

 

Ankit Jasani

View solution in original post

1 REPLY 1

Re: Error Uploading Magento 2.4 Extension – PHP 8.4 Requirement?

Hi @alexbreadf ,

Yes, behind the scenes the Marketplace validators have just been updated to expect Magento 2.4‑compatible extensions to declare support for PHP 8.4, since Adobe Commerce 2.4.8 (and higher) itself now runs on PHP 8.4.

Reference:

https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/adobe-commerce/2-4-8

https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/system-requirement...

 

Not sure but until you can upgrade your dev boxes or CI runners to PHP 8.4, you can try below

In your composer.json change:

From

"php": "~8.1.0||~8.2.0||~8.3.0"
To

"php": "~8.1.0||~8.2.0||~8.3.0||~8.4.0"

This satisfies the portal’s check.

 

Or you can raise this with Adobe support as well to get more information.

 

Problem Solved? Accept as Solution!

 

Thanks,

Ankit

 

Ankit Jasani