Directly upgrade the Magento 2.1.5 to 2.3 - php

Can we directly upgrade the Magento 2.1.5 to 2.3? Magento 2.1 supports the PHP version 5.6, 7 & 7.1 only and Magento 2.3 supports 7.1.3,7.2,7.3. Both support the different versions while readiness checks it always raised an error “requires PHP ^7.1.3 -> your PHP version (7.0.6) does not satisfy that requirement”.
Anyone, can you please let me know the process of how to upgrade Magento 2.1 to 2.3. I am running this on my local window machine.
Thanks in Advance!

Manually Magento Upgrade version 2.1 to 2.3
Need PHP version is 7.2
Copy all files of Magento 2.3 version and past to your magento2.1 need to overwrite all files
and Run Command
bin/magento setup:upgrade
bin/magento setup:static-content:deploy (if production mode)
bin/magento c:f

That should work then you have to set the new version and try the update. If you want be sure that everything is correct you can first update so 2.2 that alle DB-migrations are made and then go to the next step. Normally composer always fetch the new packages and then make the database upgrades. So normally that should work.
You should make a backup before then you can try it again if it's not working.
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

I'd strongly advise to first update to the latest version of 2.2.x, then upgrade to 2.3.x. Reason being is that some setup/upgrade scripts may not be properly triggered executed, and you'll want to fully test the site on 2.2 before moving onto 2.3. Changes introduced in 2.3 could break your store, and it'll be hard to track down if either changes from 2.2 or 2.3 broke it. Fully testing your site on each version is advised, and this will most likely be quicker than going from 2.1 straight to 2.3.

Related

How to install Debian 7 and PP5 in 2020?

I have an old installation of TYPO3 (6.4) and I want to move it to another supplier. I can export everything but I cannot install a working server that can run the applications from the old website.
I am sure it has something to do with PHP and my solution I think would be to install PHP 5.4.4 on either Debian 7 or a newer Debian distribtion.
Can anyone help me out? Thank you :)
There never was a TYPO3 version 6.4. maybe 6.0.4 or 6.2.4 ?
you can try to install a virtual maschine with an old linux image with that old PHP version.
But that should be only local and only for viewing the old site.
In general you don't need a working server as all neccessary data is in the database (and filesystem).
Install a TYPO3 verion 7 (also outdated, but runs on PHP 7.2) as an intermediate step and insert a copy of the old database and the filesystem (fileadmin/*). Then run upgrade wizard (do an upgrade for all extensions as possible)
Repeat for TYPO3 versions 8, 9 until your database is converted to latest version and matching extensions.
Meanwhile you probably need to change the rendering as the old installation was probably based on CSC (css_styled_content) while there is FSC (fluid_styled_content) which resuls in other HTML markup and other CSS.
Or was it even a 4.6?
Then you need a prior step with TYPO3 6.2 to convert all file references to FAL. therefore you need an old PHP 5.6 to execute the upgrade wizards. (stay with a local virtual machine)

Updating Codeigniter 1.7.3 to 3.1.7

I am trying to upgrade from CI version 1.7.3 to CI Version 3.1.7. The problem I have is for some unknown reason the User Guide for 3.1.7 DOES NOT even mention upgrading from version 1.7.3 to version 2.0-let alone upgrading from 1.7.3 to version 3.1.7. How can I get a list of changes made from version 1.7.3 to 3.1.7, IF codeigniter's own user' guide does not even MENTION my version?
I do remember reading something about changing CI version 1.7.2 to version 1.7.3, but then, I am not sure if that means I should follow the upgrade steps for 1.7.2?
So, if I am to follow the steps to upgrade from 1.7.2 to 2.0 then what was the point of upgrading to 1.7.3 to begin with? Any ideas would be greatly appreciated.
Thanks in advance!
This is the current upgrade paths on the CI Site. You need to upgrade from 1.7.x to 2.x, then 2.x to 3.x.
Most of it is pretty simple, but you will want to read carefully from 2.2 -> 3, as that has the most changes.
In response to the comment about system folders, in general you are always entirely deleting the existing system folder in your current project, and then putting in the new system folder from the version you are upgrading too. It is important to delete the old one first, not simply replace it, as sometimes files are removed and not replaced in upgrades.
The caveat is that this is only safe if you have used the framework as intended, and not modified any file inside the system folder. If you have, you will still need to do the aforementioned steps, but you will then need to address your previous modification, perhaps by re-hacking the system files.

Is there a way to run PHP version 5.4 w/ the latest MAMP version

I have the latest version of MAMP installed but i want it to run PHP version 5.4.
That version is included in the MAMP file dir. It is located…
-> bin/php/php5.4.42
but in the preferences pane there are only 2 PHP version options: 5.6.10 and 7
I want to do this a part of troubleshooting. i have a Drupal install and am getting the dreaded ‘White Screen of Death’. I’m trying anything and everything to get it working!
MAMP lets you choose from the last two versions of PHP installed in bin/php. If you want to use 5.4.42, just leave this folder and another one of your choice inside this directory (move the others somewhere else so you have a copy, just in case). When you restart MAMP you'll be able to choose your preferred PHP version in the Preferences.
You can download more versions at https://www.mamp.info/en/downloads/
The easier way is to use other localwebserver called Ampps, and after installing it you can choose the version you want by the simple interface it provide.
You click on PHP ==> Change PHP version, and it will show you versions from 5.3 to 7.0.
Here is the link: http://www.ampps.com/
Thanks a lot.

How to downgrade PHP version from 5.3 to 5.2 in Ubuntu 12.04?

I have freshly installed Ubuntu 12.04 and I have installed PHP as well. By default, it is installed with version 5.3.10 but my PHP project doesn't support PHP v5.3.10.
I want to downgrade PHP version to 5.2. How can I do it?
You would have to uninstall PHP and then reinstall an older version. However if your working on a project that your going to sell, or give to clients, or whatever the case my suggestion would be take out any functionality thats actually breaking between 5.2x and 5.3x and replace it with its new counter parts, as most people will not want to revert to older versions of PHP for any needs, and generally speaking php versions only goin in one direction, if you block yourself into 5.2 and your making software in one shape or another for people, what are you going to do next year when all the servers come stock with PHP 6? Not to mention a lot of hosted solutions try to provide the latest and greatest on there new machines, and will not revert for a single client especially on a shared hosting environment.
Anyway yea, back to your question again in your terminal under Ubuntu, you can try the following. sudo apt-get purge php5 which will then prompt you for a password, then proceed with removing PHP assuming you have the PHP package standalone and not bundled in with some preconfigured LAMP stack, but then again it should still work generally speaking so long as the version is right.
As for reinstalling it, remove purge from the command and use install. However you will need to look up the means of getting an archived version installed of PHP as apt-get will get you the latest

installing Lingotip translate on Magento; php version conflict; would like to override

I have just installed Magento ver. 1.4.1.1 on our Ubuntu dev server and am trying to install the Lingotip translation extension.
I am receiving the error:
magento-community/Lingotip_Translate requires PHP (version >= 5.0, version <= 5.3.2), installed version is 5.3.2-2
Install Errors
No valid packages found
PEAR ERROR: install failed
I think there must be a fairly simple way to comment out this check code to allow the .2-2 patch to work, but I am completely new to Magento and am unable to find it anywhere in the codebase.
My question is, can someone show me either:
1) how to "override" this blocking code, or
2) how to install this "ready2paste" version of the lingotip code I found at the freegentoo site.
Thank you!
I don't believe that Magento is certified for PHP 5.3 There are a slew of issues with 5.3 on the Magento forums, the fixes involve hacking the core Magento code which isn't recommended.
I would suggest that you rollback to PHP 5.2 which will fix your immediate issue and be safer with Magento in general.
--------- EDIT ---------
If rollback to 5.2 isn't an option, you could download the package manually using
./pear download magento-community/Lingotip_Translate
and then exploding the tarball yourself. Place the app, skin and other folders as seems appropriate and go for it. Obviously, you are choosing to void your warranty in bypassing the installer, and your mileage may vary. good luck :)
You will need to have run ./pear mage-setup . in your magento install dir previously.

Categories