Magento 2.3 installation PHP requirement
I'm trying to update Magento 2.2 to version 2.3 using this command:
composer require magento/product-community-edition=2.3.0
When doing so, I receive the following error:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
Which is weird, since I have the recommended PHP version for Magento 2.3 which is PHP 7.2.13
How can I fix this problem?
magento2 composer php-7 magento2.3 magento-upgrade
|
show 1 more comment
I'm trying to update Magento 2.2 to version 2.3 using this command:
composer require magento/product-community-edition=2.3.0
When doing so, I receive the following error:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
Which is weird, since I have the recommended PHP version for Magento 2.3 which is PHP 7.2.13
How can I fix this problem?
magento2 composer php-7 magento2.3 magento-upgrade
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36
|
show 1 more comment
I'm trying to update Magento 2.2 to version 2.3 using this command:
composer require magento/product-community-edition=2.3.0
When doing so, I receive the following error:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
Which is weird, since I have the recommended PHP version for Magento 2.3 which is PHP 7.2.13
How can I fix this problem?
magento2 composer php-7 magento2.3 magento-upgrade
I'm trying to update Magento 2.2 to version 2.3 using this command:
composer require magento/product-community-edition=2.3.0
When doing so, I receive the following error:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.7 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.6 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.5 requires php ~7.0.13|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.2 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.0 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
- magento/framework 101.0.4 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.13) does not satisfy that requirement.
Which is weird, since I have the recommended PHP version for Magento 2.3 which is PHP 7.2.13
How can I fix this problem?
magento2 composer php-7 magento2.3 magento-upgrade
magento2 composer php-7 magento2.3 magento-upgrade
asked Dec 11 '18 at 17:08
FidelityFidelity
235
235
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36
|
show 1 more comment
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36
|
show 1 more comment
3 Answers
3
active
oldest
votes
For updating, you are still technically running 2.2 so you will need to use php7.1 after you have updated to 2.3 then you can switch to php 7.2.
Also the upgrade can only be done from 2.2.6 -> 2.3.0
Upgrading from Magento 2.2.6 to 2.3.0 isn't as clear cut as it has been in the past. Please follow the directions in the devdocs to do a proper upgrade to 2.3.0
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html#upgrade-cli-script
Which is condensed below:
1) composer require magento/product-community-edition 2.3.0 --no-update
2) composer config preferred-install dist
3) composer config sort-packages true
4) composer config prefer-stable true
5) composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
6) composer require --dev sebastian/phpcpd:~3.0.0 --no-update
7) php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
(copy this as one line, please)
8) composer update
9) php bin/magento setup:upgrade
10) php bin/magento setup:static-content:deploy
11) php bin/magento setup:di:compile
12) php bin/magento cache:flush
Although you probably should keep php at 7.1 until you actually finish the upgrade since you are technically still on Magento 2.2.6 which does require php 7.1 only switch to php 7.2 after upgrade is complete.
add a comment |
Magento 2.3.x technology stack requirements
PHP: 7.1.3+ 7.2.x
PHP Extensions:
- ctype
- curl
- dom
- gd
- intl
- mbstring
- hash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- spl
- libxml
- xsl
- azip
- json
- iconv
Database: MySQL 5.6, 5.7
Web servers: Apache 2.2 or 2.4 or nginx 1.x
Memory: Minimum 2GB of RAM
6: OS: Linux
Refernce: Magento 2.3.x technology stack requirements
add a comment |
Magento 2.3 PHP support version:
php 7.1.3+ and php 7.2.x
Database:
MySQL 5.6, 5.7
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253223%2fmagento-2-3-installation-php-requirement%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
For updating, you are still technically running 2.2 so you will need to use php7.1 after you have updated to 2.3 then you can switch to php 7.2.
Also the upgrade can only be done from 2.2.6 -> 2.3.0
Upgrading from Magento 2.2.6 to 2.3.0 isn't as clear cut as it has been in the past. Please follow the directions in the devdocs to do a proper upgrade to 2.3.0
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html#upgrade-cli-script
Which is condensed below:
1) composer require magento/product-community-edition 2.3.0 --no-update
2) composer config preferred-install dist
3) composer config sort-packages true
4) composer config prefer-stable true
5) composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
6) composer require --dev sebastian/phpcpd:~3.0.0 --no-update
7) php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
(copy this as one line, please)
8) composer update
9) php bin/magento setup:upgrade
10) php bin/magento setup:static-content:deploy
11) php bin/magento setup:di:compile
12) php bin/magento cache:flush
Although you probably should keep php at 7.1 until you actually finish the upgrade since you are technically still on Magento 2.2.6 which does require php 7.1 only switch to php 7.2 after upgrade is complete.
add a comment |
For updating, you are still technically running 2.2 so you will need to use php7.1 after you have updated to 2.3 then you can switch to php 7.2.
Also the upgrade can only be done from 2.2.6 -> 2.3.0
Upgrading from Magento 2.2.6 to 2.3.0 isn't as clear cut as it has been in the past. Please follow the directions in the devdocs to do a proper upgrade to 2.3.0
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html#upgrade-cli-script
Which is condensed below:
1) composer require magento/product-community-edition 2.3.0 --no-update
2) composer config preferred-install dist
3) composer config sort-packages true
4) composer config prefer-stable true
5) composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
6) composer require --dev sebastian/phpcpd:~3.0.0 --no-update
7) php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
(copy this as one line, please)
8) composer update
9) php bin/magento setup:upgrade
10) php bin/magento setup:static-content:deploy
11) php bin/magento setup:di:compile
12) php bin/magento cache:flush
Although you probably should keep php at 7.1 until you actually finish the upgrade since you are technically still on Magento 2.2.6 which does require php 7.1 only switch to php 7.2 after upgrade is complete.
add a comment |
For updating, you are still technically running 2.2 so you will need to use php7.1 after you have updated to 2.3 then you can switch to php 7.2.
Also the upgrade can only be done from 2.2.6 -> 2.3.0
Upgrading from Magento 2.2.6 to 2.3.0 isn't as clear cut as it has been in the past. Please follow the directions in the devdocs to do a proper upgrade to 2.3.0
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html#upgrade-cli-script
Which is condensed below:
1) composer require magento/product-community-edition 2.3.0 --no-update
2) composer config preferred-install dist
3) composer config sort-packages true
4) composer config prefer-stable true
5) composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
6) composer require --dev sebastian/phpcpd:~3.0.0 --no-update
7) php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
(copy this as one line, please)
8) composer update
9) php bin/magento setup:upgrade
10) php bin/magento setup:static-content:deploy
11) php bin/magento setup:di:compile
12) php bin/magento cache:flush
Although you probably should keep php at 7.1 until you actually finish the upgrade since you are technically still on Magento 2.2.6 which does require php 7.1 only switch to php 7.2 after upgrade is complete.
For updating, you are still technically running 2.2 so you will need to use php7.1 after you have updated to 2.3 then you can switch to php 7.2.
Also the upgrade can only be done from 2.2.6 -> 2.3.0
Upgrading from Magento 2.2.6 to 2.3.0 isn't as clear cut as it has been in the past. Please follow the directions in the devdocs to do a proper upgrade to 2.3.0
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html#upgrade-cli-script
Which is condensed below:
1) composer require magento/product-community-edition 2.3.0 --no-update
2) composer config preferred-install dist
3) composer config sort-packages true
4) composer config prefer-stable true
5) composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
6) composer require --dev sebastian/phpcpd:~3.0.0 --no-update
7) php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
(copy this as one line, please)
8) composer update
9) php bin/magento setup:upgrade
10) php bin/magento setup:static-content:deploy
11) php bin/magento setup:di:compile
12) php bin/magento cache:flush
Although you probably should keep php at 7.1 until you actually finish the upgrade since you are technically still on Magento 2.2.6 which does require php 7.1 only switch to php 7.2 after upgrade is complete.
edited Jan 17 at 16:48
answered Dec 24 '18 at 14:16
djfordzdjfordz
1538
1538
add a comment |
add a comment |
Magento 2.3.x technology stack requirements
PHP: 7.1.3+ 7.2.x
PHP Extensions:
- ctype
- curl
- dom
- gd
- intl
- mbstring
- hash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- spl
- libxml
- xsl
- azip
- json
- iconv
Database: MySQL 5.6, 5.7
Web servers: Apache 2.2 or 2.4 or nginx 1.x
Memory: Minimum 2GB of RAM
6: OS: Linux
Refernce: Magento 2.3.x technology stack requirements
add a comment |
Magento 2.3.x technology stack requirements
PHP: 7.1.3+ 7.2.x
PHP Extensions:
- ctype
- curl
- dom
- gd
- intl
- mbstring
- hash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- spl
- libxml
- xsl
- azip
- json
- iconv
Database: MySQL 5.6, 5.7
Web servers: Apache 2.2 or 2.4 or nginx 1.x
Memory: Minimum 2GB of RAM
6: OS: Linux
Refernce: Magento 2.3.x technology stack requirements
add a comment |
Magento 2.3.x technology stack requirements
PHP: 7.1.3+ 7.2.x
PHP Extensions:
- ctype
- curl
- dom
- gd
- intl
- mbstring
- hash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- spl
- libxml
- xsl
- azip
- json
- iconv
Database: MySQL 5.6, 5.7
Web servers: Apache 2.2 or 2.4 or nginx 1.x
Memory: Minimum 2GB of RAM
6: OS: Linux
Refernce: Magento 2.3.x technology stack requirements
Magento 2.3.x technology stack requirements
PHP: 7.1.3+ 7.2.x
PHP Extensions:
- ctype
- curl
- dom
- gd
- intl
- mbstring
- hash
- openssl
- PDO/MySQL
- SimpleXML
- soap
- spl
- libxml
- xsl
- azip
- json
- iconv
Database: MySQL 5.6, 5.7
Web servers: Apache 2.2 or 2.4 or nginx 1.x
Memory: Minimum 2GB of RAM
6: OS: Linux
Refernce: Magento 2.3.x technology stack requirements
answered Dec 24 '18 at 13:54
Milind SinghMilind Singh
643115
643115
add a comment |
add a comment |
Magento 2.3 PHP support version:
php 7.1.3+ and php 7.2.x
Database:
MySQL 5.6, 5.7
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
add a comment |
Magento 2.3 PHP support version:
php 7.1.3+ and php 7.2.x
Database:
MySQL 5.6, 5.7
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
add a comment |
Magento 2.3 PHP support version:
php 7.1.3+ and php 7.2.x
Database:
MySQL 5.6, 5.7
Magento 2.3 PHP support version:
php 7.1.3+ and php 7.2.x
Database:
MySQL 5.6, 5.7
answered Dec 13 '18 at 6:30
ARUNPRABAKARAN MARUNPRABAKARAN M
208
208
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
add a comment |
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
As you can see, I'm running PHP 7.2.13 which, as you stated, is supported by Magento
– Fidelity
Dec 13 '18 at 8:56
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
Yes PHP version 7.2.x supported by Magento version 2.3
– ARUNPRABAKARAN M
Dec 13 '18 at 11:53
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
So this does not answer my question :(
– Fidelity
Dec 13 '18 at 14:13
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253223%2fmagento-2-3-installation-php-requirement%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
try this, open your composer.json and change magento/product-community-edition version to 2.3.0 and then run "composer update"
– satya prakash patel
Dec 13 '18 at 9:31
I opened up composer.json, but it already was changed to 2.3.0, probably because of the 'composer require' command from above ^
– Fidelity
Dec 13 '18 at 10:14
so after that have you tried "composer update"?
– satya prakash patel
Dec 13 '18 at 10:15
Yes! Same result
– Fidelity
Dec 13 '18 at 14:12
replace your composer.json with magento2.3.0 composer.json file and run "composer update"
– satya prakash patel
Dec 13 '18 at 14:36