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 </ code>在 / home / myuser / public_html / my_project_name </ code>下创建文件夹。 然后,尝试打开 </ code>会产生 403 Forbidden </ code>页面。 如果我尝试打开 </ code>,它也是 403 Forbidden </ code>。</ p>

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

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

任何帮助都将不胜感激。</ p> </ DIV>

1条回答 默认 最新

相关推荐 更多相似问题