Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question