Symfony3 with ISPConfig3

Discussion in 'Installation/Configuration' started by snoop168, May 9, 2016.

  1. snoop168

    snoop168 New Member

    I am looking to deploy a Symfony3 application to a webhost managed by ispconfig3. The symfony folder structure holds most of the code one folder level below the web folder:
    ├─ app/
    │ ├─ config/
    │ └─ ...
    ├─ bin/
    │ └─ ...
    ├─ src/
    │ └─ ...
    ├─ tests/
    │ └─ ...
    ├─ var/
    │ ├─ cache/
    │ ├─ logs/
    │ └─ ...
    ├─ vendor/
    │ └─ ...
    └─ web/ <----- public web folder
    ├─ app.php
    └─ ...
    as shown in the structure above I need to place all the other folders right in the root folder (/var/www/clients/client#/web#/) but I cannot write or change any folders at that level including as SUDO. I have full access to the server. Is there some better way to deploy symfony? I understand there is a "private" directory but if the scripts in the "web" directory are looking for files one level lower how will they locate the files in the "private" directory?

    I've also though about placing all files in the private folder then deleting the "web" folder and creating a new symlink to the ./private/web folder so that everything is all running under the structure it expects. Will this work? Any other ideas?

Share This Page