1
1
1alexandr2015-01-23 18:14:34
linux
1alexandr, 2015-01-23 18:14:34

Deploy symfony2. How to install composer on timeweb hosting?

Hello Dear Connoisseurs!
Please help me solve the problem of transferring the symfony2 project to hosting.
I uploaded the project files to the root folder, entered mydomain.ru/config.php in the line and got the following
Major problems
Major problems have been detected and must be fixed before continuing:
Vendor libraries are missing. Install composer following instructions from getcomposer.org/. Then run "php composer.phar install" to install them.
Recommendations
Additionally, to enhance your Symfony experience, it's recommended that you fix the following:
Your requirements file is outdated. Run composer install and re-check your configuration.
Install PHP 5.4.11 or newer if your project uses the logout handler from the Symfony Security Component.
Set short_open_tag to off in php.ini*.
Set register_globals to off in php.ini*.
* Changes to the php.ini file must be done in "/etc/php53/apache2/php.ini".
Re-check configuration
Symfony Standard Edition
Do you really need to install something to transfer a symfony2 project to hosting? I've read the docs and it's not written anywhere.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Руслан Квашнин, 2015-01-23
@1alexandr

Композер нужен для установки зависимостей (vendor).
Раз уж на то пошло - никто не мешает залить проект вместе с вендорами, а не устанавливать их на хосте.

J
jaxel, 2015-01-26
@jaxel

А в чём проблема то? Заливаешь composer.phar на хостинг в папку проекта и всё.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question