Go ahead and check whether your site and databases are working properly or not. If you have followed all the steps correctly you will get a success message Import has been successfully finished.Īfter that run the following command mysqlupgrade in the Shell option. Now go to phpMyAdmin Go to Import tab Import all-db-dump.sql file through the import option directly to server. Go to Look for cfgExecTimeLimit 600 Change the value 600 to a higher value may be 6000. Now configure the php.ini file and increase the value for the following options uploadmaxfilesize, memorylimit, postmaxsize. Go to xamppphpphp.ini You can use CLI for importing database. Now Copy the htdocs folder from xampp-old folder to xampp folder. Start both Apachee and MySQL server and check whether they are working properly or not, also check PhpMyAdmin page. Now go to xampp folder and run the xampp control panel as Administrator. Install it in the same drive where your old Xampp originally was. TIME TO INSTALL THE NEW ONE Download the latest version of XAMPP. Installing the XAMPP Once you've download the installar, run it. For this tutorial we are going to use Windows and PHP 8.0. Xampp Control Panel V3.2.4 Download The Latest Getting the XAMPP installer From the Apache friends website, download the package that matches your platform. This way if anything goes wrong you will be able to get back to the old version very easily. Now stop both Apachee and MySQL servers and quit the xampp control panel. This will create a SQL file named all-db-dump.sql that contains all the databases in MySQL server. THE COMPLETE SOLUTION: Follow the steps below and your XAMPP will be updated in no time BACKUP OLD DATA Lets backup all the databases first Open XAMPP Control Panel as an Administrator Click on the Shell option run the following command mysqldump -u root -p -all-databases all-db-dump.sql If you have different user for databases then change the value root with username. This portion is easy, just a simple copy paste will do the trick. So copy pasting the mysql data files from old to new xampp wont work anymore THE CHALLENGES While updating XAMPP we basically face 2 challenges Moving all the site files. Since XAMPP 5.5.30 and 5.6.14, XAMPP ships MariaDB instead of MySQL. Kudos SOME MAJOR CHANGES If you are updating XAMPP after a long time like me than be ready for some major changes. Xampp Control Panel V3.2.4 Download The Latest.
0 Comments
Leave a Reply. |