2017-07-19 11:26
浏览 51

Symfony - 安装在CentOS服务器上

I'm trying to install Symfony for the first time, following the official guide. So, installing the symfony installer went smoothly, then running symfony new my_project_name creates the folder under /home/myuser/public_html/my_project_name. Then, trying to open results in a 403 Forbidden page. If I try to open it's also a 403 Forbidden.

Looking in the Apache configuration, I see user apache and group apache. So I'm trying to chown the whole project folder to apache.apache - doesn't help.

Tried to run composer install or composer update - doesn't help either.

Any help would be appreciated.

图片转代码服务由CSDN问答提供 功能建议

我正在尝试首次安装Symfony,跟随官方指南。 因此,安装symfony安装程序顺利进行,然后运行 symfony new my_project_name / home / myuser / public_html / my_project_name 下创建文件夹。 然后,尝试打开 会产生 403 Forbidden 页面。 如果我尝试打开 ,它也是 403 Forbidden

查看Apache配置,我看到用户 apache和组apache。 所以我试图 chown 整个项目文件夹到 apache.apache - 没有帮助。

试图运行< code> composer install composer update - 也没有帮助。


  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

  • duanli3277 2017-07-19 11:44

    You can follow the official guide on how to setup the web server for apache / nginx :

    You might be missing something in your virtualhost.

    The "no input file specified" seems to be related to an .htaccess issue. Related topic : No input file specified - apache and php-fastcgi

    解决 无用
    打赏 举报

相关推荐 更多相似问题