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.
Related
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.
I just need some help I try to install image/intervention into my project, but got the problem message as the image below:
Do I have to upgrade PHP VERSION to a higher one?
I am really appreciated if you can help me solve this problem.
Thank You
Siripong
Take a backup of your htdocs and data folder (subfolder of MySQL folder), reinstall upgraded version of xampp and replace those folders.
N.B. Don't forget to take backup of your project in htdocs.
When you visit https://packagist.org/packages/intervention/image you can see that the requirement is php >=5.4.0 so all good here. I think is the dependencies that need a higher php version. The temporary solution may be, to downgrade the package to version 2.3 or even lower so you can make sure that the old versions are working. They need to fix the package if this is the case and if it is working for you with a lower version maybe you can used it like that, but depends on what your app needs.
I am using CodeIgniter 2.2.6 with PHP 5.5 and it works fine. Now I want to upgrade PHP to version 5.6.6 my question is, is CodeIgniter compatible with PHP 5.6.6?
I can't upgrade CodeIgniter to a new version because I have many models based on Version 2.2.6.
Codeigniter 2.2x IS COMPATIBLE with PHP7.1+.
You only need to remember:
Models/classes and so on are case-sensitive and have to start from capital letter
The same with names of files in application folder
There are problems with mysql (very old, not used now driver) so you have to use mysqli driver (but it is already implemented in CI2, check if you're not using it already)
if you have session table sometimes you'll have to truncate this table, clear cache and populate it again.
Check compatibility of software in third_party folder if you have problems - CI is not responsible for that issues.
In my case everything is working smoothly with the newest version of bootstrap & jQuery installed. However, I'm not using hooks, advanced functions and so on.
NOTE, that in most cases you can force server to use older php version using .htaccess and AddHandler command:
AddHandler application/x-httpd-php56 .php
This is last version of PHP before PHP7.
And last but not least - of course I don't recommend to use this very old version of CI, however in my opinions - in my cases - there is no sense to migrate from CI2x to CI3, in 2018 it is better to wait for CI4 and then migrate.
The Server Requirements page in the user guide says that CodeIngiter 2 requires "PHP version 5.1.6 or newer".
Note that PHP 5.6 will stop receiving active support in less than a month, so you might want to go right to version 7. PHP 5.6 should receive security patches until the end of 2018.
I can't upgrade CodeIgniter to a new version because I have many models based on Version 2.2.6.
Note also that CodeIgniter 2 is no longer supported:
the current version (2.2.6) came out in October, 2015.
CodeIgniter 2 has reached its end-of-life for support and updates, as of October 31, 2015. No further updates are planned.
We encourage you to upgrade to CodeIgniter 3.x!
There is an upgrade path from version 2.2 to version 3.1, which I encourage you to explore:
First, read Upgrading from 2.2.x to 3.0.x
Then, read the steps for performing minor upgrades
This probably isn't as hard as you think, and with the security implications I believe it's worthwhile.
Can I run CakePHP 1.3 with PHP7? I have to do a migration to PHP7, but in the hosting there is a project in CakePHP 1.3 and need to know if there is any risk if I run this project in this version of PHP.
Unfortunately CakePHP 1.3 is not really compatible with PHP7 out of the box. I work on a old project in CakePHP 1.3 and my system upgraded to PHP7. There are a lot of these in the core of CakePHP 1.3
After changing these, I ran into the next batch of errors, after which I rolled back and postponed the upgrade.
So to answer the question, it would be rather risky upgrading to PHP7 if there is a CakePHP 1.3 project.
If you are still looking for a CakePHP 1.3 port to PHP7, you are in luck!
I've ported CakePHP 1.3.21 to PHP 7.3, you can check it out on GitHub.
Please pay attention to the readme, as it naturally requires changes to your own code as well!
I had to migrate a CakePHP 1.3 project to PHP7 and the only thing I did was find the "String" class and using PhpStorm's rename all occurrences feature I renamed it to "String_Renamed" that fixed the errors and everything worked afterwards. I've had no issues since.
I am trying to downgrade a Cakephp project from latest version to 1.3.15 so it could work on my current server setup, I don't want to upgrade my PHP version because I don't want to screw with my server design, security and infrastructure besides I have a lot of projects on the same server which were designed to work with this exact PHP version, I am a total Cakephp noob but I am working with CodeIgniter, any ideas ?