Upgrading Xampp

XAMPP and MODX

To Upgrade MySql included in XAMPP (I did it on a Windows system): Rename your Mysql directory to some other name. Download the.msi file from the MariaDB link. Change the install directory to your Mysql location under XAMPP. After completion, copy the old my.ini from the original mysql/bin directory to your new mysql/bin directory. If you are updating 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.

What is XAMPP?

XAMPP is a free Open-Source package you can install on your local machine. XAMPP provides relatively recent versions of Apache, MySQL, PHP, and the FileZilla mail server. After installing XAMPP, you can run MODX on your local Windows, OS X, or Linux box. You could download the components separately and install them, but XAMPP installs them all with a single click and provides versions that are (theoretically) compatible with each other.

  1. How to Install XAMPP for Windows. This wikiHow teaches you how to install XAMPP on a Windows 10 computer. XAMPP is a server manager which allows you to run Apache, MySQL, and other types of servers from the same dashboard.
  2. But XAMPP differs from the above concept. Also the fact is that it does not have config files but just has folders to keep projects and databases. All projects of all users reside in the same folder and hence this is the reason for the warning as it conflicts with Windows. Hence install XAMPP in folder different from C: Program Files.
  3. How to install XAMPP on Mac: Download the correct version of XAMPP; Run the installer with the default options; Launch XAMPP; Start the services; In this tutorial, I'll be using my Mac running macOS 10.14 ('Mojave'), but the steps are the same for the other versions of Mac OSX and macOS 10.x (update: I've tested this on Catalina and it works.

Where Do I Get XAMPP?

XAMPP is available here. For Windows, I recommend downloading the self-extracting .exe version. It should install when you double-click on the downloaded file. It's not a bad idea to keep a couple of previous versions of the downloaded .exe file. Occasionally, there are problems with a new release and you will want to revert.

Configuring XAMPP

Note: These instructions are mainly for installing XAMPP on Windows machines. If you're installing it on another platform, the file locations will probably be different. Also, the current versions of XAMPP no longer support Windows XP.

There's really only one thing you'll want to do and it's only necessary if you want Friendly URLs in MODX. Later, hen you turn FURLs on and MODX crashes, you may not remember that this is the reason. It's simple, so you might as well do it when you install:

  • Edit XAMPP/apache/conf/httpd.conf. Remove the # in front of

Securing XAMPP

If your machine is not connected to the internet and you are the only person who uses it, you can ignore this section, otherwise:

  • Go to https://localhost/security/xamppsecurity.php to create the MySQL master password and protect the XAMPP directory. For the MySQL Root password section, leave the 'current password' field blank and enter the password that is in your MODX config file. You can protect your XAMPP directory with a username and password here also, but notice that there are separate buttons for the different actions.
  • Edit /XAMPP/phpMyAdmin/config.inc.php and change the authorization type in this line:
    to cookie:
  • Restart Apache
  • Restart MySQL
  • Go to https://localhost/security to make sure everything is secure. Ignore the warning about PHP not running in 'Safe' mode.
  • Upgrading or Downgrading XAMPP

    To upgrade XAMPP, you can usually just install the newer version (sometimes there is a separate 'upgrade' version). There's no need to uninstall the current version. If you want to downgrade, however, it's usually wise to uninstall the current version, reboot, and double-click on the older installation file.

    WARNING: If you uninstall XAMPP, you will be asked if you want to uninstall the MySQL database and the HTDOCS directory. JUST SAY NO, unless you want to wipe out your MODX site and its content.

    When you downgrade to an older version of XAMPP after uninstalling, you are likely to have several problems that the following steps will solve. It's possible, but unlikely, that you will encounter these problems in an upgrade to a newer version. The install may change the MySQL username and password used by XAMPP back to their defaults and you may get an Access Denied or Error 500 message when you try to access XAMPP security or MODX. The XAMPP install may mess up the .htaccess file in /xampp/htdocs/xampp. It will also usually turn off the rewrite engine and change the username and password in /xampp/phpMyAdmin/config.inc.php which will make phpMyAdmin impossible to access. The steps below should fix those problems:

    Before upgrading or downgrading, make a note of the username and password in /xampp/phpMyAdmin/config.inc.php in case you need to restore them later.

    After upgrading or downgrading:

    • Delete the .htacces file in /xampp/htdocs/xampp.
    • Go to https://localhost/security/xamppsecurity.php to create the MySQL master password and protect the XAMPP directory. For the MySQL Root password section, leave the 'current password' field blank and enter the password that is in your MODX config file. You can protect your XAMPP directory with a username and password here also, but notice that there are separate buttons for the different actions.
    • Edit /XAMPP/phpMyAdmin/config.inc.php and change the authorization type in this line:
      to cookie:
    • Edit XAMPP/apache/conf/httpd.conf. Remove the # in front of
    • Restart Apache
    • Restart MySQL
    • Go to https://localhost/security to make sure everything is secure. Ignore the warning about PHP not running in 'Safe' mode.

    My book, MODX: The Official Guide - Digital Edition is now available here. The paper version of the book is available from Amazon.

    If you have the book and would like to download the code, you can find it here.

    If you have the book and would like to see the updates and corrections page, you can find it here.

    MODX: The Official Guide is 772 pages long and goes far beyond this web site in explaining beginning and advanced MODX techniques. It includes detailed information on:

    UpgradingXampp
    • Installing MODX
    • How MODX Works
    • Working with MODX resources and Elements
    • Using Git with MODX
    • Using common MODX add-on components like SPForm, Login, getResources, and FormIt
    • MODX security Permissions
    • Customizing the MODX Manager
    • Using Form Customization
    • Creating Transport Packages
    • MODX and xPDO object methods
    • MODX System Events
    • Using PHP with MODX

    Go here for more information about the book.

    — Bob Ray

    If setting up XAMPP on Windows 10 is something which you are still unable to configure, then following the below-given steps would save you a lot of time and efforts. Once it’s installed, it will be a breeze to use it. In this tutorial guide, I will show you how to install XAMPP on Windows 10 with ease.

    Upgrade Xampp Php Version

    It’s always a good practice to test your site on the local server before you actually publish it to the real server. And to create a local server environment on your windows machine, you can use XAMPP. XAMPP stands for X- cross-platform, A- Apache, M- MySQL, P- PHP, P- Perl. It is a completely free and open source solution that gives you an incredible local web server to work on. Installing XAMPP sets you free from learning and remembering commands to run Apache, MySQL, etc. It simply gives you a control panel to manage all the inclusive components.

    Upgrading Xampp

    Once you have XAMPP installed on your PC you can install any CMS, including but not limited to WordPress on your Local PC. Since we have already discussed how to move WordPress from localhost to live server so, you don’t have to worry about the later process after installing WordPress locally. Simply test your site thoroughly on XAMPP and make most of it.

    How to Install XAMMP on Windows 10

    So without ado, let’s get started with the step-by-step guide to how to install XAMPP on Windows 10. And I am very sure by the end of this post, you’ll be having your very own local WordPress testing environment on Windows 10.

    Step 1: Download and Install XAMPP

    To download and install XAMPP, go to apachefriends downloads page, the official link to download XAMPP from. You will see XAMPP ready to download for cross-platform like Windows, Linux, Mac OS X. Since we are discussing How to install XAMPP on Windows 10, therefore, we will choose the Windows option as shown below.

    Step 2: Run the Installer to Install XAMPP

    1. XAMPP Setup Wizard

    During the installation process, you may come across warning pop-ups. But you would probably click ‘Yes’ to start the installation process. Soon after you click on the downloaded file, the XAMPP setup wizard will open. Now click on the ‘Next’ Button to proceed.

    1. Select Components

    How To Update Xampp

    Next, you need to check the components which you want to install and can uncheck or leave as it is which you don’t want to install. You can see there are a few options which are light grey in color. These are the options which are necessary to run the software and will automatically be installed. Now click on the ‘Next’ button to continue.

    Upgrading Xampp
    1. Select Installation Folder

    Now you need to choose the folder where you want to install the XAMPP. You can choose the default location or you can choose any location of your choice and choose the ‘Next’ button to move ahead.

    1. Bitnami for XAMPP

    Now will see a window showing you information about Bitnami. Simply click on the ‘Next’ button to move further. However, if you wish to learn more about the Bitnami, then you may check the box saying ‘Learn more about Bitnami for XAMPP.’
    Basically Bitnami is for installing open source applications i.e. WordPress, Joomla etc on your newly installed XAMPP.

    1. Ready to Install XAMPP

    Now you’ll see another window with a message “Setup is now ready to begin installing XAMPP on your computer” like shown below. You just have to hit the ‘Next’ button to proceed.

    1. Welcome to XAMPP Wizard

    Now just be patient and wait for the installation to complete.

    Latest Xampp

    1. XAMPP Installation Complete

    Once the installation is completed, you will be asked whether you would like to start the control panel now or not, displaying the message “Do you want to start the control panel now?” Check the box and click on the ‘Finish’ button and see if the XAMPP is working fine.

    Step 3: Select your XAMPP Install Language

    Upgrade Xampp Php

    As soon as you will click on the Finish button in the final step of install XAMPP process, you will be asked to select the preferred language between English and German. It is up to you which language you choose. After that click on the ‘Save’ button to confirm your selected language. As of now, I am choosing the English language.

    Step 4: XAMPP is now Installed onWindows, run it

    If the entire process of XAMPP installation went correctly, then the control panel would open smoothly. Now click on the ‘Start’ button corresponding to Apache and MySQL.

    That’s it. You have successfully installed XAMPP on Windows 10. Or say you have successfully installed XAMPP locally. Once you start the modules, you should see their status turn to green. Whereas, on the right side, you can see the process ID number and port numbers every module is using. You’re good to go now. Happy XAMPPing!!

    Upgrading Xampp To Php 7

    How to install XAMPP on Windows – Wrapping Up

    Upgrading Xampp

    Now you know how easily you can install XAMPP to test and install your WordPress site locally before hitting the live server. Certainly, the biggest advantage of installing XAMPP is that you don’t have to worry about the number of attempts you make or the kind of experiments you perform on your site. You can freely try anything you want without any tension of losing your users. However, if you face any error while installing XAMPP on your Windows machine, then do let me know in the comments below. I will try my level best to resolve the errors. Nonetheless, creating a stunning new website piece of cake if you use TemplateToaster offline web builder softwared. It is indeed, a dynamic website builder to give you an amazing website without any coding skills. So, try now!!