I couldn’t find any complete solution to help people out with updating XAMPP in Windows. So, finally here is an easy to understand, step by step guide to upgrade XAMPP that actually works.
If you are upgrading xampp after a long time like me than be ready for some major changes. XAMPP no longer comes with the MySQL server. Since XAMPP 5.5.30 and 5.6.14, XAMPP ships MariaDB instead of MySQL. So copy pasting the mysql data files from old to new xampp won’t work anymore!
While upgrade xampp, we basically face 2 challenges
Follow the steps below and your XAMPP will be updated in no time!
Lets backup all the databases first
mysqldump -u root -p --all-databases > all-db-dump.sql
root
’ with username. If you don’t have any password just press enter. Otherwise provide the password.xampp\php\php.ini
upload_max_filesize
,memory_limit
, post_max_size
.post_max_size
and memory_limit
need to be larger than upload_max_filesize
. Make them high enough so big files can work on the server.‘xampp\phpMyAdmin\libraries\config.default.php’
$cfg[‘ExecTimeLimit’] = 600;
mysql_upgrade
in the Shell option.
If you have followed my instructions then you should have a functioning XAMPP with no issues. If you do face any problem leave a comment and I will do my best to get back to you.
Note: If you do not want to upgrage only PHP version you can follow this link