简体   繁体   English

PHP会议山狮

[英]PHP session Mountain Lion

So using the default php version on my mac, I am trying to enable php sessions. 因此,在我的Mac上使用默认的php版本,我正在尝试启用php会话。 I went into /etc/php.ini and uncommented the following and it still is not being detected as enabled in Impress Pages 我进入/etc/php.ini并取消注释以下内容,但在Impress Pages中仍未将其检测为已启用

session.save_path = "/tmp"
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 1

Thanks for any help. 谢谢你的帮助。

Did you edit the file as the root user? 您是否以root用户身份编辑文件? If that didn't work, use something like MAMP like I do. 如果那没有用,请像我一样使用MAMP之类的东西。 :) :)

I figured out the problem. 我解决了这个问题。 It was enabled it was just the application I was using was false reporting that it did not work. 启用它只是我正在使用的应用程序是错误报告它不起作用。 Sorry about that guys 不好意思

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM