安装uchome后,出现类似下面的提示这么办?
Warning: include_once(./common.php) [function.include-once]: failed to open stream: No such file or directory in D:wwwrootspace.php on line 7
Warning: include_once() [function.include]: Failed opening './common.php' for inclusion (include_path='.;C:php5pear') in D:wwwrootspace.php on line 7
Fatal error: Call to undefined function checkclose() in D:wwwrootspace.php on line 10
复制代码
原因分析:这是因为服务器的权限混乱造成的。
解决办法:
把uchome放在服务器更深一层的目录,比如现在的目录是D:wwwroot,你现在在wwwroot下再新建一个目录,把uchome程序放在这个目录下,比如D:wwwroothome
这只是第一步,关键第二步:
给wwwroot赋予写入读出权限(当然不一定是wwwroot,看你的一级目录是什么)