Installation and configuration of the XAMPP

Source: Internet
Author: User
Tags vc9

Tools/Materials
    • Xampp-win32-1.8.2-1-vc9-installer.exe 101 MB

    • Wordpress-3.7.zip or Wordpress-3.6.1-zh_cn.zip

Method/Step
  1. Download Xampp-win32-1.8.2-1-vc9-installer.exe file, size is 101 MB, Baidu Network disk: Http://pan.baidu.com/s/1Du4qB. When you're done downloading, click Install. A window with the Select installation path appears, followed by an extract file. The author of the installation in D:\software\programingsoftware\xampp. Then, direct next.

    (The picture shows the order of the pop-up windows of the installation process)

  2. installation process, will pop up a XAMPP home page, called Bitnami, there is a WordPress bitmap, on the right is the WordPress installation package. You can see the latest installation package. After the progress bar is complete, after the decompression step is complete, click Finish. Then you'll jump out of a XAMPP Control panel window, and then click the Apache and MySQL Start button to launch the Apache and MySQL services.

    Note: The author in the installation to about 75% when, pop up a DOS window, is about Php.exe. Because the time is too fast, there is no clip to.

  3. If the boot is successful, the two Start button will become a stop. Congratulations, the installation is so smooth! Next, only the WordPress configuration can be done. However, for most people, the port is reused because it has installed SQL Server or MySQL or IIS or Apache software. Therefore, the word "report" is often seen in the error window ~ ~ This time, the port needs to be modified. Apache Port default is 80,mysql port default is 3306, also need to note, Apache configuration also need to configure the port of SSL, its default port 443. I changed Apache, MySQL, and SSL ports to: 81, 3366,4433. The configuration file is described in detail below.

    (If your normal start, there is no need to look down again ~ ~ ~)

  4. We first configure Apache and SSL, in this image is clearly seen, Apache behind a config button, click to select the following first file: Apache (httpd.conf), this file is configured Apache port files, The file can be found under the installation path, as the author is here: D:\software\programingsoftware\xampp\apache\conf\httpd.conf. Open the file (httpd.conf), see 80 is changed to 81, a total of three places, modified to save. We're going to modify SSL, open Apache (httpd-ssl.conf) files, change all 443 to 4433, a total of 4, and then save. Then launch Apache. Haha, see it, can start up. Detailed parameters look at the picture bar. Know if it's running.

  5. Next, let's configure the MySQL environment. Click the Config button on the back of MySQL, select the My.ini file, the author's file in D:\software \programingsoftware\xampp\mysql\bin\ My.ini, open modify the inside of the frontal port, change 3306 port to 3366. (Note: If your MySQL can be started, do not configure, you do not need to look down.) ) A total of 5 places. Save after modification, try to start. If the start is successful, congratulations on your configuration to the end, the next step is to install the WordPress process. For details, please refer to the author's "WordPress Installation and configuration frequently occurring problems and solutions."

    PS: If you feel the problem of modifying the port, you can use DOS command to see Netstat, however, XAMPP has a benefit, on the right side of the control Panel, there is a netstat button, click to see all the ports and PID, know the PID, You can end the process tree in process management. You can also kill the process with a DOS command.

    After the author's configuration environment, it can start normally. Do not know if you have learned, if you have learned, please vote, if not learned, or the problem is not resolved, please leave your suggestions, or the problem arises, the author continues to study, to help you solve, the big deal is common learning Bai ~ ~ ~

  6. "Sequel": When it comes to a friend, this behavior occurs: the MySQL service cannot be started and is stuck there. Thought to try another MySQL in the running problem, after the end of this run, still the same, does not solve the problem:

    14:10:30 [MySQL] attempting to start MySQL service: 14:14:20 [MySQL] attempting to start MySQL service ... 14:14:56 [MySQL] attempting to start MySQL service ... 14:14:56 [MySQL] attempting to start MySQL service ... 14:15:21 [MySQL] attempting to start MySQL service ... 14:15:21 [MySQL] attempting to start MySQL service ...

    So I found such a file under the installation file: Mysql_start.bat. And then run, the result is the following scenario:

    14:24:50 [MySQL] XAMPP MySQL is already running on port 336614:24:50 [MySQL] attempting to start MySQL service ... 14:24:53 [MySQL] XAMPP MySQL is already running on port 336614:24:53 [MySQL] attempting to start MySQL service ... 14:24:53 [MySQL] XAMPP MySQL is already running on port 336614:24:53 [MySQL] attempting to start MySQL service ... 14:24:54 [MySQL] XAMPP MySQL is already running on port 336614:24:54 [MySQL] attempting to start MySQL service ...

    It was supposed to work, but the problem was that it could not be started. This situation should be able to connect to the database, that is, MySQL can be run, but currently, WordPress is not installed, which means that I also need to configure the user name, password, etc. in MySQL, so, there is no attempt, but the principle is possible.

    Nonsense will not be more, we will solve the problem:

    Cmd->regedit Open the registry. Modify the registry. The method is as follows: [HKEY_LOCAL_MACHINE\System \currentcontrolset\services\mysql] ImagePath modified to new XAMPP position <xampp> \mysql\ Bin\mysqld MySQL, restart the Explorer.exe process, make the registry effective again click on MySQL behind the start,ok! MySQL service starts normally!

    PS: This is the original MySQL installation registration information of the author: "D:\software \programingsoftware\wamp\mysql\bin\mysqld"--defaults-file= "D:\software\ Programingsoftware\wamp\mysql\my.ini "MySQL

    Modified information: D:\software\programingsoftware\xampp\mysql\bin\mysqld

    Restart your computer, start xampp CONTROL PANEL again, start MySQL, and see this information:

    Found Path: "D:\software\programingsoftware\xampp\mysql\bin"--defaults-file= "D:\software\programingsoftware\ Xampp\mysql\bin\my.ini "mysql15:05:22 [MySQL] expected path:d:\software\programingsoftware\xampp\mysql\bin\ Mysqld.exe--defaults-file=d:\software\programingsoftware\xampp\mysql\bin\my.ini mysql15:05:22 [main] Starting Check-timer

    This time, we know, expected is the hope, the desire. So, we will follow the path of hope to change: this time instead: D:\software \programingsoftware\xampp\mysql\bin\mysqld.exe--defaults-file=d:\software\ Programingsoftware\xampp\mysql\bin\my.ini MySQL

    "(*^__^*) hehe ..." Here you go.

    There is one more way: Delete the following registration information:

    Hkey_local_machine/system/controlset001/services/eventlog/applications/mysql HKEY_LOCAL_MACHINE/SYSTEM/ Controlset002/services/eventlog/applications/mysql hkey_local_machine/system/currentcontrolset/services/ Eventlog/applications/mysql

Installation and configuration of the XAMPP

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.