Symfony Server: Startup Error

I get this error when I try to start myproject project, symfony2. I think the error occurred because on this port 8000 I have an ajenti server working with nginx .

 Server running on http://127.0.0.1:8000 Quit the server with CONTROL-C. RUN '/usr/bin/php5' '-S' '127.0.0.1:8000' '/srv/myproject/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php' RES 1 Command did not run successfully 

What should I do?

I checked file permissions. sudo chmod 777 -R /srv/myproject

+3
source share
1 answer

use the command as follows:

 php app/console server:run 127.0.0.1:8080 

to start the server on port 8080 or change the port according to your preferences

+9
source

Source: https://habr.com/ru/post/983290/


All Articles