douxianliu6756 2015-09-28 18:25
浏览 51
已采纳

Symfony作为另一台服务器上的符号链接

I would like to make a symfony project that i created on a webserver available on another server by the use of symlinks.

I've already set up nfs between the 2 servers and created a symlink to the web folder of symfony, however i always get a blank page when calling the desired webpage. the apache error log doesn't make me wiser in any way .

"PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0"

now since the database the symfony connects to resides on the other server aswell, i think that will be the cause ,however i'm not certain.

anyone got an idea how to fix this?or how to debug it to make it easier because exception thrown without a stack frame seems a bit too general ...

  • 写回答

1条回答 默认 最新

  • dpo60833 2015-09-29 13:42
    关注

    I've fixed it using the Alias directive(pointing it to the source directory of the first server) of apache rather then a symbolic link, since followsymlinks didn't fix my problem.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 关于#java#的问题,请各位专家解答!
  • ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分 合并
  • ¥20 pcf8563时钟芯片不启振
  • ¥20 pip2.40更新pip2.43时报错
  • ¥15 换yum源但仍然用不了httpd
  • ¥50 C# 使用DEVMOD设置打印机首选项
  • ¥15 麒麟V10 arm安装gdal
  • ¥20 OPENVPN连接问题
  • ¥15 flask实现搜索框访问数据库
  • ¥15 mrk3399刷完安卓11后投屏调试只能显示一个设备