简体   繁体   中英

XAMPP phpMyAdmin Session Error

I had two XAMPP installed in my computer. XAMPP1 was in C:\\XAMPP and XAMPP2 is in D:\\XAMPP. Both were working fine. I needed to delete XAMPP1 (c:\\xampp) and deleted. After that My XAMPP2 PHPMyAdmin Stopped Working. It displays error message something like this:

在此处输入图片说明

It is searching SESSION DATA in C:\\XAMPP\\TMP. So I created empty folder C:\\XAMPP\\TMP

After that it displays error message like this:

在此处输入图片说明

This means If I Install another xampp in C: drive it will work. But I don't want to install another xampp in C: drive. Is there any solution to this problem?

Looks like the installation in D:\\XAMPP is not properly configured.

  • Adjust session.save_path in your php.ini . You most likely don't want the session data in the old Xampp directory.
  • Also check that extension_dir in your php.ini matches the correct path to your php extensions. This could be the reason that the mysqli extension is not loaded, if it's pointing to a different path.
  • Restart Apache and try again
  • 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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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