Current location - Education and Training Encyclopedia - Resume - How to build a light environment on windows
How to build a light environment on windows
Linux+Apache+MySQL+Perl/PHP/Python is the most popular open source web component at present.

1. Download the installation package of Xampp For Windows, and click Install. At this time, several safety tips will pop up. Click OK to continue.

2. Enter the Xampp installation step and click "Next".

3. In this step, you can select the components to be installed and check them as needed.

4. Enter the installation path of Xampp.

5. The latest installation package of 5.Xampp integrates popular open source software such as Wordpress. You can check this option if necessary. ?

6. Start the installation process of Xampp, and don't close the pop-up window during this process. At this point, all the installation is over.

7. Open the Xampp panel, choose to start Apache service, and click the "Start" button at the back.

8. At this point, the firewall may prompt you with a warning and select "Allow network access".

10. Of course, if web port 80 or 443 is occupied by other applications, the corresponding error message will be output below, and the occupied program can be found quickly.

1 1. After the startup is successful, enter http://localhost in the browser. At this time, the installation of Xampp is no longer a problem.

If we need to put our program, we can go to the htdocs folder under the installation directory of Xampp and put a web project, such as creating a new test directory under the htdocs directory, such as putting a index.php file and inputting some contents.

& lt? Server-side programming language (abbreviation of professional hypertext preprocessor)

Echo "Hello, XAMPP! ! ! ! ";

& gt

12. At this time, visit http://localhost/test in the browser and see the following page, which shows that there is no problem with the installation of PHP components. Similarly, if you need to test Mysql environment, you can enter http://localhost/phpmyadmin to create databases and tables, and then write code to verify them.