douxuan3095 2016-04-29 17:59
浏览 519

本地主机上的ERR_EMPTY_RESPONSE错误 - OSX上的AMPPS

I have AMPPS installed on OSX. It was working fine with the previous osx version but with the new elcapitan i have ERR_EMPTY_RESPONSE error when i'm browsing my websites on localhost. It doesn't happen all the time but only when the website is using curl php function. It happens on all browsers, chrome, safari etc. Any idea how to fix this problem ?

  • 写回答

1条回答 默认 最新

  • doumixiang2227 2016-10-12 03:25
    关注

    I had the same problem with AMPPS and a Wordpress installation in OS X El Capitain. I could fix by changing the following configurations in the PHP.ini

    session.save_handler = files
    session.save_path = "/tmp"
    

    Then after that you can

    sudo chmod 7777 /tmp
    

    This will ask for your administrator password.

    Other users say that they could also fix this by just restarting Apache and MySQL, but that didn't work for me.

    评论

报告相同问题?

悬赏问题

  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型