How to know what the project is open in localhost?

0

I'm following the Symfony 3 course on openclassrooms and I downloaded the code used by the teacher in his course next to a project that I created with sudo php symfony.phar new Symfony in / var / www /

My question is simple: If both are open whatever I call when I call http://localhost:8000/Symfony/ that does not work perfectly?

    
asked by ThePassenger 19.05.2017 в 03:27
source

1 answer

0

Well you have 2 ways to have the 2 active projects.

First form: - you can raise an apache server with laragon, wampserver.

  • the first code you follow with the course as you do it.

  • the second code, copies the source code that you generated in the course and copies it in the www folder of the apache server that you installed earlier. So you would handle the one code on port 8000 and the other on port 80.

Second form: - Copy the generated code to the apache server and put different names to the folders, use port 80 for the 2 and then enter the app as follows:

http://localhost/codigo1/
http://localhost/codigo2/

Greetings

    
answered by 24.05.2017 в 07:39