Question

I have a symfony-project (2.0.0-DEV = RC5) which i want to upgrade to the latest version (2.0.18). If i just copy my bundles with some changes (for example autoloading path) it still don't work and throwing many errors. Of course i can fix all errors, but there a lot of bundles and it will take too much time. I have think about searching all posts from July 2011 and applying all changes from each release, but i think it too will take much time.

Is there any easier way to solve this problem?

Was it helpful?

Solution

From what I can see in the update file there shouldn't be any significant change between RC5 and 2.0.18.

You should read the CHANGELOG-2.0 file and update your code. It will take a lot of time.

You can do some other things aswell:

  • You can wait till February 2013. Symfony2.2 comes out and you can change your code to work on Symfony2.2. In November 2013 you can upgrade to Symfony2.3, which is a Long Term support release. This means you will get support for 3 years after the release and not the normal 8 months.
  • You can wait till November 2013, this is a really long time, and upgrade straight to Symfony2.3. You have to make one migration here, so it could be easier than the previous options.

The problem is that there isn't something like 'an easy way'. That's why Symfony gets into a Release Process Circle and LTR. You need to choose a way that is good for your application and will not take much time. That's why I don't recommend to upgrade to the latest 2.0.x or 2.1.x version, because that is only supported 8 months. The best is to use the 2.3 in November 2013 and update your application on a regular base (which is easy with composer). But November 2013 is almost a year, which I think is to long.

OTHER TIPS

You can use composer for that. I could explain it to you, but I think that experts from KnpLabs company will do that better: http://knpuniversity.com/screencast/composer :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top