1

I currently have Magento running on Ubuntu Xampp, and attempted to run composer on a theme file, which prompted me to install a load of PHP extensions. I did this (7.2 for all of them, same as system version) which fixed those errors, but then it suddenly came up with

magento/framework 100.0.9 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.2.15) does not satisfy that requirement.

This is in response to composer install in the relevant theme folder.

However, the Magento admin panel clearly states that I'm on version 2.3.1 which does support PHP 7.2.11 (which is earlier than 7.2.15, but surely this shouldn't be a breaking change). I installed Magento through the bitnami addon installer to Xampp, which could be the cause as it somehow installed an older version? (Although again, admin panel states I'm running 2.3.1). Could this be something to do with the version the theme in specific is looking for?

Any advice would be very appreciated. Thanks!

Raj Mohan R
2,0861 gold badge10 silver badges14 bronze badges
asked Mar 28, 2019 at 21:51

1 Answer 1

0

If you have a third party extension it could be the reason why you got that error. The solution would be either disable first or uininstall that extension or look for that third party extension's composer.json file and find required PHP version, if your current PHP version is not available in the "require" then please add it.

Do it like below:

"require": {
 "php": "~5.5.0|~5.6.0|~7.0.0|7.2.15"
 },
answered Mar 29, 2019 at 7:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.