Answer the question
In order to leave comments, you need to log in
How to run a symfony project from a browser, under openserver on windows?
Installed openserver on windows.
I checked localhost to open from a browser, everything works.
There is a project on symfony , I put it in a separate folder next to the localhost, restart the open server, he sees this project himself.
But I start to switch their browser and shows an error.
I think the problem is in the files of the project itself prntscr.com/jrbvk8 , since index.php is needed in the main folder of the project to display the site, but it is not there.
How to run it correctly? this is my first time doing this please help
Answer the question
In order to leave comments, you need to log in
Installing Composer on OpenServer
https://getcomposer.org/download/
Checking the PHP Version
Checking extensions
Launching the console
Change to the directory of the version of PHP OpenServer you are using
Run the Composer installation from the PHP directory
Composer installation progress
All settings correct for using Composer
Downloading…
...
cd my-project
composer require server --dev
php -S 127.0.0.1:8000 -t public
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question