简体   繁体   English

XAMPP phpMyAdmin会话错误

[英]XAMPP phpMyAdmin Session Error

I had two XAMPP installed in my computer. 我的计算机上安装了两个XAMPP。 XAMPP1 was in C:\\XAMPP and XAMPP2 is in D:\\XAMPP. XAMPP1位于C:\\ XAMPP中,而XAMPP2位于D:\\ XAMPP中。 Both were working fine. 两者都工作正常。 I needed to delete XAMPP1 (c:\\xampp) and deleted. 我需要删除XAMPP1(c:\\ xampp)并删除。 After that My XAMPP2 PHPMyAdmin Stopped Working. 之后,我的XAMPP2 PHPMyAdmin停止工作。 It displays error message something like this: 它显示如下错误消息:

在此处输入图片说明

It is searching SESSION DATA in C:\\XAMPP\\TMP. 它正在C:\\ XAMPP \\ TMP中搜索会话数据。 So I created empty folder C:\\XAMPP\\TMP 所以我创建了空文件夹C:\\ XAMPP \\ TMP

After that it displays error message like this: 之后,它显示如下错误消息:

在此处输入图片说明

This means If I Install another xampp in C: drive it will work. 这意味着,如果我在C:驱动器中安装另一个xampp,它将起作用。 But I don't want to install another xampp in C: drive. 但是我不想在C:驱动器中安装另一个xampp。 Is there any solution to this problem? 有什么解决办法吗?

Looks like the installation in D:\\XAMPP is not properly configured. 看起来D:\\ XAMPP中的安装未正确配置。

  • Adjust session.save_path in your php.ini . 在您的php.ini调整session.save_path You most likely don't want the session data in the old Xampp directory. 您很可能不希望会话数据位于旧的Xampp目录中。
  • Also check that extension_dir in your php.ini matches the correct path to your php extensions. 此外,检查extension_dirphp.ini正确的路径PHP扩展匹配。 This could be the reason that the mysqli extension is not loaded, if it's pointing to a different path. 如果它指向另一个路径,则可能是未加载mysqli扩展的原因。
  • Restart Apache and try again 重新启动Apache,然后重试
  • Check your log files for errors, eg failed extension loading etc. 检查您的日志文件中是否有错误,例如扩展名加载失败等。
  • If the error about the missing mysqli extension persists, make sure it is not commented out in your php.ini 如果有关丢失的mysqli扩展的错误仍然存​​在,请确保在您的php.ini未将其注释掉。

Edit: 编辑:

Sorry, I don't have the rights to comment yet... :( 抱歉,我无权发表评论... :(

Not sure, if remote debugging is very effective here. 不知道远程调试在这里是否非常有效。 Search the error message and have a look for example here: phpMyAdmin - #1932 Table doesn't exist (collation in use) after reinstalling 搜索错误消息并在此处查找示例: phpMyAdmin-#1932重新安装后表不存在(正在使用排序规则)

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

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