dongyi1921
2017-07-19 11:26
浏览 46
已采纳

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 mydomain.com results in a 403 Forbidden page. If I try to open mydomain.com/my_project_name 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 下创建文件夹。 然后,尝试打开 mydomain.com 会产生 403 Forbidden 页面。 如果我尝试打开 mydomain.com/my_project_name ,它也是 403 Forbidden

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

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

任何帮助都将不胜感激。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题