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.
Related
I installed symfony 2.8 on debian 9. Using native packages from the link repository.
Debian9 Package Symfony
Installed several components that use symfony, for example doctrine, twig, asset, etc.
In debian they were divided between /var/lib/dpkg and /usr/share folders.
In /var/lib/dpkg it is displayed that in the info folder are the .list of each component.
Result folder info
I searched for related information to make a "hello world" by displaying the native symfony and it's really little or nothing I got.
I have used and implemented projects in symfony in a traditional way with versions 2.8, 3.x. And I really can't emulate it with the native, as you would normally work.
Has anyone managed to deploy symfony natively?
Any help or tip will be welcome.
Thank you in advance.
Package from debian seems to install symfony 2.8 and the docs for this are:
https://symfony.com/doc/2.8/best_practices/creating-the-project.html
Simply by using:
symfony new blog
this should generate a basic app for you and then you should run
php app/console server:run
and if you visit http://localhost:8000/ in your browser you should see your app according to
https://symfony.com/doc/2.8/setup.html
My project is currently setup with 3.4 version of symfony. I want to move to symfony4. So I moved to symfony4 as per suggestions in http://symfony.com/doc/current/setup/upgrade_major.html.
In my current project there are many custom bundles are created in src directory. But now in Symfony 4 there is no bundle structure.
So please guide me how can I proceed with my existing bundles in Symfony4?
Thanks in advance...
You can follow the tuto made by Symfony, right here: https://symfony.com/doc/current/setup/upgrade_major.html (you already done that)
And then to update you project structure: https://symfony.com/doc/current/setup/flex.html#upgrade-to-flex
Welcome,
I'm a little newbie in symfony but I wanna create website with upload file. I found good bundle https://github.com/SymfonyContrib/FileFieldBundle but when I try add it by composer then it's not possible becouse lastest correct Symfony version is 2.3. Anyone know how import it to Symfony3?
Or anyone have some bundle with file uploader based on jQuery File Upload working with Symfony3?
Thanks for help
You can't use that bundle unless the maintainer of the bundle migrates it to Symfony 3. In his composer.json the required symfony version is stated as ~2.3 which is equivalent to >=2.3 <3.0.0 (composer version syntax). You are of course free to fork the bundle on github and make the required changes yourself to make it compatible with Symfony 3 and issue a pull request.
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
I'm on the latest 32 bit WampServer 2 server with php 5.4
I follow the step to download Doctrine 2.2 from Git without problem.
Now I'm at configuration step.
I'm stuck to the first step .
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/configuration.html
Where is the file autoload.php. I have basicaly this folder architecture.
doctrine
..bin
..lib
....Doctrine
......ORM
......vendor
........doctrine-build-common
........doctrine-common
........doctrine-dbal
........Symfony
..tests
..tools
there is no autoload.php file in the vendor folder ?.
where is that file ?.
Do anybody have a tutorial on how to install Doctrine 2.2 . I already installed Doctrine 1.2 before without problem, but the Doctrine 2.2 is completely different then the old one.
Thanks very much.
It uses namespacing for loading classes.