Tarida George
Tarida George

Reputation: 1303

Symfony server:run error

I'm getting this error when I'am trying to run myproject, symfony2 project. I think that the error came up because on that port 8000 I have ajenti server running 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 files permissions. sudo chmod 777 -R /srv/myproject

Upvotes: 4

Views: 5481

Answers (1)

Udan
Udan

Reputation: 5609

use the command like this:

php app/console server:run 127.0.0.1:8080

to run the server on port 8080 or change the port to your own preference

Upvotes: 9

Related Questions