Welcome Guest, Not a member yet? Register   Sign In
New XAMPP Releases
#1

XAMPP 7.4.18 and XAMPP 8.0.5 Released.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#2

Thanks for the news!
Is there any easy way to update xampp without losing any kind of data? I generally backup htdocs folder first.
Reply
#3

(This post was last modified: 05-05-2021, 11:58 AM by InsiteFX. Edit Reason: Update to include system backup )

I backup the whole xampp folder then I can have access to all the apache vhost files, php.ini and
phpMyAdmin ini file. For MySQL export all your databases then import them. You will need to setup
the password again.


Code:
// Shell from Control Panel - change user and you_password to yours.
cd mysql\bin
mysqladmin --user=root password "your_password"

For phpMyAdmin I just set the user and password in the in file. Also set no password to false.

Then do your htdocs folder.

I also backup my xampp folder and complete system everyday using this backup software it's free.
This is a Windows version.

AOMEI Backupper
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

I do not install PHPMyAdmin from xampp, I have it separated. Updates are restricted to the application provider, phpMyAdmin. I have optimized it, I don't use the original changes from xampp.

In xampp the following backups are made (WinRar):

Apache: httpd.conf and httpd-vhosts.conf;

MySql (MariaDb): with the MySql service stopped, I backup the entire "data" directory. In my opinion more efficient, versatile and compact.

This Dbs backup routine is performed daily. Resulting in a file of just over 4Mb. There are 3 databases and about 85 tables.

Manually, via phpMyAdmin from any table that is under test and/or a major change in its content and design;

PHP: php.ini and the 'ext' directory;

After installing the new version, all the files listed above will overwrite those of the new version, therefore, they must be saved or renamed before this occurs.

htdocs: full backup of the services listed and active in the httpd-vhosts.conf file;

isolated, exclusive, backup of the public folder of the framework;

all other folders in the framework have a copy on git/GitHub;

After starting the new version, I update Mariadb with the following command, in the xampp prompt window:

mysql_upgrade_service --service = MySQL

That's it!

Cool
Reply




Theme © iAndrew 2016 - Forum software by © MyBB