PHP version upgrade 5.3.25 to 5.6

后端 未结 2 2062
走了就别回头了
走了就别回头了 2021-02-05 11:52

We have a requirement for upgrading the PHP version (5.3.25) to current stable version which is 5.6.17. So, for this we need to find which approach would be best.

2条回答
  •  眼角桃花
    2021-02-05 12:10

    On my experience, we upgraded our PHP version from 5.3.28 to 5.6.6 directly because of server upgrades, and one more reason is you can easily check all your modules faster if there's an error rather than checking it on every version.

    What you should keep in mind:

    • deprecated functions
    • if you're using PHP frameworks (CodeIgniter, Laravel, etc.), consider upgrading them too
    • current code implementations

提交回复
热议问题