- #Xampp for mac tutorial 2018 install#
- #Xampp for mac tutorial 2018 update#
- #Xampp for mac tutorial 2018 upgrade#
Since I had (in to too rare cases) trouble with larger plugin updates from a local WordPress website, I decided to set the max_execution_time to 90. In my case, this is Xdebug.Īfter that, merge in any relevant changes in your PHP config file, php/php.ini.
#Xampp for mac tutorial 2018 update#
Either move (or copy) them to you new installation (i.e., php/ext/), or even update them to the newest stable version. You then want to take care of additional PHP extensions. The only thing I did here was setting the max_allowed_packet size from the initial 1M to 32M. Merge in any relevant changes in your MySQL config file, mysql/bin/my.ini. Move your Apache hosts file, apache/conf/extra/nf, to your new installation.
#Xampp for mac tutorial 2018 install#
However, if you did not create any database dumps-meaning MariaDB only got a patch or minor update-all you have to do is to copy (or even move) the old data from the xampp.OLD/mysql/data folder to the new install (i.e., xampp/mysql/data). If you exported your databases before-because MariaDB was about to get a major update-you have to import them now, of course. By default, you will find them in htdocs/.
In order for both Apache and your operating system to work with your local hosts (i.e., the respective files), you have to move (or copy, if you want to be extra cautious) them from your old installation to the new one.
#Xampp for mac tutorial 2018 upgrade#
? So, we would like to end up with a clean version of what we have when we regularly upgrade XAMPP. Now, we only have to make sure the new installation behaves just like the old one, but … only in new. But you can, of course, do whatever you like here. No need for an FTP server, Perl, Webalizer or any of the other available stuff. I only use the Apache and MySQL server, PHP, and phpMyAdmin. Well, then, install XAMPP like the first time. Finally, rename the folder that XAMPP is installed in, for example, to xampp.OLD/. However, if the new version of MariaDB is a major update with respect to the current one, you should export all your databases.Īfter that, start XAMPP (i.e., the XAMPP Control Panel), stop all running services such as your Apache and MySQL server, then quit XAMPP (i.e., actually close the application, not just hide it to the system tray). A patch and also a minor update does not break any existing functionality, but only fixes bugs and/or introduces new features. If its version doesn’t change at all-very unlikely, though-or if the new version is a patch or minor update of the current one, then you don’t have to do anything special right now. There is one important thing that dictates what to do first: the type of update for MariaDB. And it only takes very few steps to cleanly upgrade XAMPP. Reaching the desired situation is really not that hard at all. What we do not want to have is a bloated xampp folder with lots of stuff that is old, outdated, obsolete and other words starting with “o”.
The goal is to have a clean XAMPP installation in your desired version, with all local hosts still working fine, and all of your current … let’s call it configuration. Of course, you also might have installed one or more additional PHP extensions, and customized or at least completed some config files for things like PHP, MySQL, or even the XAMPP Control Panel. This tutorial, obviously, assumes you already have XAMPP installed, and one or more local hosts set up, which means there are custom files in htdocs/, and MySQL databases and tables created. It might be worth mentioning that I am writing this short tutorial mainly for the future me, although the post should be of good use to anyone with a similar setup.
Instead of installing the new version on top of the current one, I decided to take another route, which I will explain in this very post. I did this, for example, when switching PHP versions, or when I moved from MySQL to MariaDB. From time to time, I-and maybe you, too-want or have to upgrade XAMPP (i.e., install it again, in a newer version).