dtwupu6414 2017-03-13 10:01
浏览 22
已采纳

PHP会话传播

I'm using win10 + wampserver3.0.6 x64. And the WAMP server and PHP 7 work well together. When I change it to nginx with php7 and wampserver3.0.6 x64, it still works well.

When I download php7 from official website. And I edit the new php.ini according to the php.ini which in wamp64.the session can's spread!

But I find the sea the config in php-b is session.auto_start = 0! I download a PhpStudy for test when in different php version it work. I find they are all set session.auto_start = 0! Finally I just understand php in integrated package are all set session.auto_start = 0 I feel lost~! Dose anyone can solve my doubt~! Why did this happen?

  • 写回答

1条回答 默认 最新

  • duanliexi1052 2017-03-13 10:09
    关注

    first you have to read what have been removed and edited in php (session.configuration) versions

    and you can see all those changes on that official php link :

    http://php.net/manual/en/session.configuration.php

    after that according to your version you will know what you can edit in php.ini and what you can not

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

报告相同问题?

悬赏问题

  • ¥15 删除虚拟显示器驱动 删除所有 Xorg 配置文件 删除显示器缓存文件 重启系统 可是依旧无法退出虚拟显示器
  • ¥15 vscode程序一直报同样的错,如何解决?
  • ¥15 关于使用unity中遇到的问题
  • ¥15 开放世界如何写线性关卡的用例(类似原神)
  • ¥15 关于并联谐振电磁感应加热
  • ¥60 请查询全国几个煤炭大省近十年的煤炭铁路及公路的货物周转量
  • ¥15 请帮我看看我这道c语言题到底漏了哪种情况吧!
  • ¥66 如何制作支付宝扫码跳转到发红包界面
  • ¥15 pnpm 下载element-plus
  • ¥15 解决编写PyDracula时遇到的问题