Symfony server:run 错误
Symfony server:run error
我在尝试运行 myproject
、symfony2 项目时遇到此错误。我认为出现错误是因为在该端口 8000
我有 ajenti
服务器运行 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
我该怎么办?
我检查了文件权限。 sudo chmod 777 -R /srv/myproject
使用这样的命令:
php app/console server:run 127.0.0.1:8080
到运行端口8080上的服务器或将端口更改为您自己的偏好
我在尝试运行 myproject
、symfony2 项目时遇到此错误。我认为出现错误是因为在该端口 8000
我有 ajenti
服务器运行 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
我该怎么办?
我检查了文件权限。 sudo chmod 777 -R /srv/myproject
使用这样的命令:
php app/console server:run 127.0.0.1:8080
到运行端口8080上的服务器或将端口更改为您自己的偏好