Site icon GetPageSpeed

Magento 1.9.x with PHP 7.2

Magento

Magento

Magento 1 is being phased out, but considering how bad Magento 2.x is, it might be better to stick with the good old Magento 1.9.

Magento 1 is very light in comparison to Magento 2 and it can run on a more recent and faster PHP 7.2 engine.

All you need to do is upgrade your minor Magento version.

In this post, we’re going to cover the steps on how to upgrade your Magento 1.9.x to the latest version which:

Steps for upgrade Magento 1.9.x to latest Magento 1.9.x version

n98-magerun sys:maintenance --on
sed -i.orig "s@CURLOPT_SSL_CIPHER_LIST, 'TLSv1'@CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1@" downloader/lib/Mage/HTTP/Client/Curl.php
n98-magerun cache:disable
chmod +x ./mage
./mage mage-setup
./mage config-set preferred_state stable
./mage sync
# the following command will take minutes and may produce no output, so be patient:
./mage upgrade-all
./mage upgrade-all --force # <<-- run in previous command ended up with errors
n98-magerun index:reindex:all
# important: runs database migration (upgrade scripts), alternatively - access website while caches are off to trigger the same
n98-magerun sys:setup:run
n98-magerun cache:flush
n98-magerun cache:enable
n98-magerun sys:maintenance --off
Literature:
Exit mobile version