为了方便大家教授,写的详细点。
1.原MYSQL里面data目录还在,例如目录为d:\MySQL\MySQL Server 5.0\data
用户名为root 密码为1232.重装用的AMPServ这个一体化的建站系统 数据库的目录为 D:\APMServ5.2.6\MySQL5.1\data
用户名为root 密码为空。安装好AMPServ后用它的phpMyAdmin访问成功。然后复制d:\MySQL\MySQL Server 5.0\data下面的文件到D:\APMServ5.2.6\MySQL5.1\data
提示有一个文件夹mysql重复,ibdata1,ib_logfile0,ib_logfile1三个文件重复选择全部覆盖,然后用phpMyAdmin访问成功(用户名为root 密码为123)打开网页,有提示错误
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../license.php) is not within the allowed path(s): (E:/www.abc.com/;D:/APMServ5.2.6/tmp/uploadtemp/;) in E:\www.abc.com\includes\func\common.inc.php on line 806Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../license.php) is not within the allowed path(s): (E:/www.abc.com/;D:/APMServ5.2.6/tmp/uploadtemp/;) in E:\www.abc.com\includes\func\common.inc.php on line 810Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../license.php) is not within the allowed path(s): (E:/www.abc.com/;D:/APMServ5.2.6/tmp/uploadtemp/;) in E:\www.abc.com\includes\func\common.inc.php on line 806Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../license.php) is not within the allowed path(s): (E:/www.abc.com/;D:/APMServ5.2.6/tmp/uploadtemp/;) in E:\www.abc.com\includes\func\common.inc.php on line 810
并且用户登录界面显示不出来希望各位大哥教教小弟,我是新手,不知道怎么办了

解决方案 »

  1.   

    查看E:\www.abc.com\includes\func\common.inc.php on line 806 仔细检查下
      

  2.   

    你自己的程序出错把,记得phpMyAdmin没有includes这个目录,数据库应该没有问题,你的php.ini有问题,把你的php设置恢复到原来的应该就好了
      

  3.   

    你的服务器上做了限制,禁止访问上级目录。在你的apach管理器中设置一下。