分享

写回答

发帖

[提问] 紧急求助!!!

GoDaddy GoDaddy 607 人阅读 | 3 人回复

发表于 2010-5-22 03:50:45 | 显示全部楼层 |阅读模式

网站www.bndstone.us后台登录的时候出问题,显示
Warning: session_start() [function.session-start]: open(D:\Hosting\4275160\html\bndstonesus\tmp\sessions\\sess_im573125i4lks6h6kvkbsbm0g, O_RDWR) failed: Permission denied (13) in D:\Hosting\4275160\html\bndstonesus\admin\login.php or line 11

我网上搜了一下解决办法是这么说的
These errors indicate a problem with your PHP configuration or filesystem permissions, and are not specifically related to iPanel/iHost. You would encounter the same problems on your server with any script that uses PHP sessions.

You should ask your systems administrator to check your session save path in php.ini, ensure that it's pointing to the correct location, and check the permissions on the session save path to ensure that it's writable by the UID under which PHP is running


我看了半天.不知道什么意思.

有没有哪位大侠说一下到底要怎么做呀?越清楚越好.因为程序我是请人做的,我自已不懂编程.
未命名.jpg

回答|共 3 个

ancky2006

发表于 2010-5-22 04:05:54 | 显示全部楼层

英文看了半天实在看不懂.后来去找中文的.有人说

这个是session的tmp路径没有设置的缘故
你在php,ini的session.save_path设置一个路径就可以了,并且这个路径是有效的。比如:c:\winnt\temp
可是我找遍了.找了好几遍.就是没找到php,ini文件.还有那个路径是怎么设置呀?不好意思.我实在太菜了

add.c

发表于 2010-5-22 11:36:00 | 显示全部楼层

php.ini文件可以自己创建,
你的手Windows主机么? 我看到了目录问题

ancky2006

发表于 2010-5-22 19:09:17 | 显示全部楼层

谢谢版主.,我总算找到我的是windows.叫朋友整整找了一天.总算找到了.原来是文件夹没有写入权限导致的.
RAKSmart
您需要登录后才可以回帖 登录 | 注册

本版积分规则