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.

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

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料