XAMPP Update part or update all

Source: Internet
Author: User

Sometimes as the PHP version and the MySQL version of the requirements need to upgrade their version, is the part of today's summary of the steps, for reference only.

Upgrade PHP Section

1, in the existing XAMPP, the PHP directory renamed to Phpbak, this can ensure that the error when the change back, restore the original;
2, download the new PHP for Windows (choose the Thread Safe version, zip format);
3, the new version of PHP extracted to xampp/php this directory;
4. Copy the php.ini file from the old Phpbak directory and copy it to the new PHP directory;
5. Restart the Apache server.

Upgrade MySQL version error prone, not open MySQL, not recommended to upgrade, if there is no open situation, you can delete the Xmapp\mysql\data\ibdata1 file, and then restart MySQL.

Upgrade XAMPP

XAMPP after installation, the real user data basically involves the following three places:

1. Xampp/htdocs directory: This is the file system for all websites.
2. Xampp/mysql/data directory: This is the database for all sites.
3. xampp/apache/conf/extra/httpd-vhosts.conf file: This is your virtual host (assuming you use a virtual host in xampp) configuration file.

Therefore, you fully back up the above 3 directories/files, then delete the old version of XAMPP, then install the new version of XAMPP, and then copy the above three points to the corresponding location of the new XAMPP.

XAMPP Update part or update all

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.