Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have an app currently running on a PHP 5.2 server that I need to migrate to a PHP 5.5 (or 5.6) server. What are the things to look at, what issues might I encounter?
Thanks in advance
This is well documented.
http://php.net/manual/en/migration53.php
http://php.net/manual/en/migration54.php
http://php.net/manual/en/migration55.php
http://php.net/manual/en/migration56.php
Go through each of these one by one. This may be a good time to refactor your application.
Basically, you have to migrate your code from 5.2 to 5.3, then to 5.4, then to 5.5, and then to 5.6. For each Migration, the PHP documentation has listed what you may encounter:
5.2 -> 5.3 : http://php.net/manual/de/migration53.php
5.3 -> 5.4 : http://php.net/manual/de/migration54.php
5.4 -> 5.5 : http://php.net/manual/de/migration55.php
5.5 -> 5.6 : http://php.net/manual/de/migration56.php
Look for Backward incompatible changes and deprecated features. Hope I could help.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I have a legacy application which uses
Symfony 1_4
PHP 5.3
MySQL 5.6
Client is asking for an upgrade of all the tech stack to the latest.
Symfony 5
PHP 8
MySQL 8
How can I do this upgrade with minimum effort ?
A solution required without re-writing the whole application.
Upgraded application's security should be major feature
Upgrading from such an old version to the latest version is most likely never going to work.
I suggest rebuilding the application in Symfony 5 manually, it will probably save you a lot time and effort.
You can try to reuse as much business logic as you can.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
What is the easiest and fastest way to upgrade code from Laravel 5.3 to Laravel 7.3 or 8 ? Is there a tool which can do that for me ? How long does it take to do that?
Please help .
Regards
The easiest way is to follow the documentation by laravel, best way is to upgrade to the next version, for example in your situation upgrade to 5.4, when everything is working, and all composer packages are upgraded to the right version, then move on to 5.5 etc...
heres a place to start : https://laravel.com/docs/5.4/upgrade#upgrade-5.4.0
and you can just change version in top right corner to get upgrade for the next version.
keep in mind you gonna have to keep upgrading manually packages versions in your composer.json to the proper versions, so just analyze the error codes you gonna be getting.
if theres a tool to help with that, then I dont know about it, hopefully next person does.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I was doing my client project. He told me he has Unlimited Cpanel purchased. so i just did my project on latest Laravel version. Now when i got his cpanel it has php version 5.4. What can i do now?
i was thinking about downgrading both laravel and php but will it support all features? Any help.
There are likely to be security vulnerabilities in that version of PHP and Laravel. The solution here is to get the client to upgrade his server infrastructure.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Currently i am using PHPmailer 5.0 version and PHP Version 5.3 but now i am moving to PHP 7.0.
Can i use phpmailer 5.0 with php 7.0
I need to upgrade to php 7.0 version
Yes, you should upgrade to PHPMailer 6.x for PHP 7.x, or you'll get deprecation warnings and possibly errors from the legacy things that PHPMailer 5.x needed for old PHP versions.
Incidentally you should be targeting at least PHP 7.1, preferably 7.2, since 7.0 is already past its end-of-life.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
PHP 5.3 has been released some time ago and the developers tried to keep the number of backwards compatibility breaks low. What issues did you find while testing/migrating your code with PHP 5.3?
I don't know about you, but I found all of these things I had to fix. :P
Migrating from PHP 5.2.x to PHP 5.3.x
Using CakePHP 1.2 it causes a lot of deprecated notices in debug mode.
Upgrading to latest CakePHP version fix it.
Beside the deprecated notices, I did not find any major issue.