How to upgrade XAMPP in Windows?
阿新 • • 發佈:2018-12-28
- Download the latest version of XAMPP.
- Install it in the same drive where your old Xampp originally was.
- Now go to xampp folder and run the xampp control panel as Administrator.
- Start both Apachee and MySQL server and check whether they are working properly or not, also check PhpMyAdmin page.
- Now Copy the htdocs
- Go to
xampp\php\php.ini
- You can use CLI for importing database. It helps especially with very big databases. If so you can jump to step 19. If not follow the remaining steps.
- Now configure the php.ini file and increase the value for the following options
upload_max_filesize
memory_limit
,post_max_size
. post_max_size
andmemory_limit
need to be larger thanupload_max_filesize
. Make them high enough so big files can work on the server.- Go to
‘xampp\phpMyAdmin\libraries\config.default.php’
- Look for
$cfg[‘ExecTimeLimit’] = 600;
- Change the value 600 to a higher value may be 6000.
- Now restart both Apache
- Now go to phpMyAdmin
- Go to Import tab
- Import ‘all-db-dump.sql’ file through the import option directly to server.
- Based on how many databases you have it will take some time.
- If you have followed all the steps correctly you will get a success message “ Import has been successfully finished”.
- After that run the following command
mysql_upgrade
in the Shell option. - Go ahead and check whether your site and databases are working properly or not.
- If everything is working fine than you can delete the xampp-old file.