how do I upgrade symfony 1.3 to 2.x? - php

At work we use Symfony 1.3 and I want to upgrade to the latest version of symfony.
I saw this article:
symfony upgrade 1.4
That's a upgrade from 1.3 to 1.4 not verry helfull.
Can I download the latest symfony and create a new project and copy the folders from 1.3 like app, web, lib, config etc etc to my new version?
Ralph

There are quite a few differences between symfony1 and symfony2
You can read about the differences between the 2 on the How Symfony2 Differs from Symfony1 docs page

Related

Symfony 2.8 application truble

i've a problem with an application created with symfony 2.8.
I use symfony 5.2 but i have to do some improvement in an application builded whith symfony 2.8(not mine).
I've tried to install symfony 2.8 but is deprecated and don't work.
I have 5 directories of 2.8 project :
vendor
app
src
doc
bin
i create a project
symfony new my_project_name
then i paste the 5 directories and doesen't work.
i've tried use parameter --version=2.8 but nothing...
Any suggestion ? thanks in advance.

Upgrade cakephp 2.6 to 2.8 to work php 7

I have a cakephp website on 2.6 and want to run it on php 7. Will it work if I upgrade cakephp to 2.8?
I have shared server therefore I cannot have php 5.*.
Requirements
Here are the Requirements for running CakePHP 2.x
As longs as you have those you should be fine.
Migration Guide 2.6 -> 2.8
More about PHP7 Compatibility
And make sure you read this migration guide here
2.7
2.8
There are no breaking changes, but still worth a read.

Symfony downgrade from 3.2 to 2.8 lts

I have started with symfony 3.2 project, then changed version in composer to 2.8 (which is long term support).
Problem is that folders structure still remains 3.2 project. Is there any way to change (not manually) folders structure to 2.8?
Of course you can downgrade. You might choose the old Symfony2 directory structure (deprecated) or keeping the current Symfony3 structure.
In either ways, please take a look at How to Override Symfony's Directory Structure.
Using the Symfony3 directory structure
If you choose to use the Symfony3 structure, it's easy as following up this article about upgrading from Symfony2 to Symfony3's directory structure.
Using the Symfony2 directory structure
First you'll have to rename and move some files (like var/cache/, var/logs/, etc.). Afterwards you'll have to change the autoloading file in app/autoload.php (formerly var/autoload.php which you must move too).
Basically it's the same in reverse order like upgrading from Symfony2 to Symfony3 (mentioned above).
Please be aware that Symfony 3.4 (next LTS) will be released in November 2017, so in my opinion it's not worth to downgrade, and then re-upgrade. Upgrading from 3.2 to 3.4 will be small and fast, Upgrading from 2.8 to 3.4 could be much more to do ...

How to Upgrade cakephp 2.3.5 to 2.9.0 version

I am using cakephp framework 2.3.5 version for my application And now i want to upgrade my cakephp version to 2.9.0.
Can you please suggest me the process how can i upgrade to 2.9.0 version?
install cakephp version 2.8 in your local system, if you want to upgrade whole project then copy your controller,model and view from cakephp 2.3.5 project to your new project and checked that module there will be no major changes if you got any error then let me know.. I have upgraded from version 1.3 to 2.6..
and also read migration guide you will get better idea about new changes.

Symfony 1.4 vs Symfony 2.0 confusion

We are about to start a project and we believe Symfony framework will make our work easier considering our requirements. Our problem is we don't know whether to start our project in Symfony 2.0x or in Symfony 1.4. My choice would be to start with upgraded version only, but we could not find detailed documentation for symfony 2.0x.
Which is better to use?
If I use Symfony 1.4, can I upgrade to 2.0x easily?
What are the major differences between Symfony 1.4 and Symfony 2.0?
I suggest using 2.0x for the following reasons:
2.0x is stable and the newest version.
the doc is getting bigger every day and there is much going on on the mailinglist.
upgrading from 1.4 to 2.0x not possible.

Categories