B
B
brar2016-12-09 21:03:02
linux
brar, 2016-12-09 21:03:02

Site made with Symfony?

A classmate asked for help. I brought a flash drive with a website and an sql database on it.
Deployed virtual host. Imported db.
I couldn't find the database configuration file in the site directory.
Judging by the contents of the directory, the site was made using Symfony, as there are different Bundles.

#ls -l web/bundles
acmedemo
makerlabspager
sensiodistribution
sonataataadmin
sonatacore
sonatauser

At the moment, the browser simply displays the directories and files of the site root.
The real question is where to go? Install symfony on the server? Or how? Where can the file with authorization data to the database be located?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bears, 2016-12-09
@brar

The root of the site is the web folder, (if the server is Apache) there is htaccess in the web folder and there is a DirectoryIndex app.php line in it, rewrite it like this - DirectoryIndex app_dev.php, if nginx then something like this try_files $uri /app_dev.php$ is_args$args; in host configuration.

A
asd111, 2016-12-09
@asd111

Bundles contains libraries, you need a databases.yml file if it is symfony. And if not symfony then do grep password or something like that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question