Z
Z
Zubastik_12017-03-30 14:09:59
symfony
Zubastik_1, 2017-03-30 14:09:59

What are you deploying Symfony to?

I like XAMPP - tried installing symphony and it's easy (working under windows). But I decided to play around with dockers, for this I installed virtualbox, and LAMP on Ubuntu. But a rake began with the installation of the symphony, apparently the server was not configured as expected, etc. What do you advise?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Artem Soshnikov, 2017-03-30
@Zubastik_1

My experience is this:
I write bash scripts to automatically install and configure nginx, php7 (fpm, cli), MySQL, nodejs and redis.
I run all this on debian 8 under docker, through docker-compose, sometimes adding pma to it.
Then the whole thing just as easily takes off on ci in gitlab (Travis ci and any other ci)
Total installation, configuration and testing cycle) in addition, all scripts are divided into separate pieces like install-nginx, install-php and then you can reuse these pieces are in another project.

M
mistergonza, 2017-03-30
@mistergonza

I used Vagrant. C nginx + php7 + mysql 5.7 for Symfony 2.8.
Link to Box

P
Pavel Malitov, 2017-03-30
@Tenskwatawa

For symfony, you can find ready-made containers on the docker hub. Here is one for example
https://hub.docker.com/r/whatwedo/symfony3/

A
Alexey Budaev, 2017-03-30
@Markus_Kane

I advise you to look at the logs and find out what errors the server writes to you :)
Most likely you have installed LAMP, but PHP and extensions required for Symfony components are not. This is the direction you need to look first. But in general, the logs will tell everything.

P
Peter Beboborodov, 2017-03-31
@0n0ff

I've been using https://puphpet.com/ (VirtualBox+Vagrant) for several years now. If the host is a winl system, then for symfony the main folder mount should be switched to NFS ( https://github.com/winnfsd/vagrant-winnfsd)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question