Zend Framework Update - Steps and Tips

My site currently uses Zend Framework 1.8.0, which is over 2 years old. I would like to upgrade to 11.11.11, and I have some problems finding basic guidelines on how to do this smoothly. Is it as simple as rewriting the Zend library / folder with the latest files?

Here are my steps that I plan to take. Did I miss something?

  • Download the latest Zend Framework code.
  • SSH to the server and copy the / Zend library to / path / to / webapp / library and call something like Zend-1.11 into the folder.
  • On our site, put "Site on the service page."
  • cd / path / to / webapp, and then back up the current version of Zend, for example. cp -R Zend Zend-old
  • mv Zend-1.11 Zend
  • Delete "Site deleted for maintenance page"

At this point, the / library / Zend folder will have the latest Zend Framework code, and I would have "Zend-old" to return in case something goes wrong.

Is this a typical upgrade method?

+5
source share
3 answers

What to do before upgrading the Zend Framework:

  • Read the change log from the current version to the latest version that you are downloading.
  • At the same time, make sure that all your current code will work without any errors, even minor ones. Usually, all updates are backward compatible. (But sometimes, if there are any significant changes around a particular module, you will have a slight alteration in your code)
  • ZF , , , .
  • ( lib ), , , .
  • , , .
+5

Zend 0.70 1.11 . , , application.ini 2 .

includePaths.library = APPLICATION_PATH "/../library"

includePaths.library = APPLICATION_PATH "/../library1.11"

, . !

+2

ZF-. Zend lib . Zend lib, , zf show version.

-2

All Articles