In this blog, I will show you how to upgrade Magento 2.4.5-p1 to 2.4.6-p3 opensource project.
If your project integrated with git then first create new branch like release/magento246-p3
using commandgit checkout -b release/magento246-p3
We need to upgrade software first. We can see software requirement here
Software | 2.4.5-p1 | 2.4.6-p3 |
Composer | 2.2 | 2.2 |
Elasticsearch | 7.17 | 8.7 |
OpenSearch | 1.2 | 2.5 |
MariaDB | 10.4 | 10.6 |
PHP | 8.1 | 8.2, 8.1 |
RabbitMQ | 3.9 | 3.11 |
Redis | 6.2 | 7.0 |
Varnish | 7.0 | 7.3 |
Run below command to update module version in composer.json
composer require magento/product-community-edition 2.4.6-p3 --no-update
OR
Manually update package version in composer.json file "magento/product-community-edition": "2.4.6-p3",
Next step is run composer update
then run magento deployment commandphp bin/magento setup:upgrade
You also can refer official magento upgrade docs by click here.
After upgrade you might be facing Zend deprecated class errors. you can follow blog Magento 2.4.6 Depreciated Zend classes alternative to fix it.
I hope this blog is useful for upgrade Magento 2.4.5-p1 to 2.4.6-p3 version. In case, I missed anything or need to add some more information, Don’t heisted to leave a comment in this blog, I’ll get back with some positive approach.
Keep liking 👍 Keep sharing 📣 Keep loving ❤️ Keep inspiring 🤩