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 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号