Setting up a php runtime environment at high speed

Source: Internet
Author: User
WampServer, which is used to quickly build a php runtime environment, many of my colleagues want to learn about PHP, however, installing and setting up a PHP environment in Windows is too cumbersome for Cainiao to give up more than half of them, after all, Apache + PHP + MySQL is difficult to configure. for beginners, it is difficult to figure out the configurations. Therefore, the foolproof integrated WAMP program (Windows: WampServer for setting up the php runtime environment quickly

As far as I know, many of my colleagues want to try to learn PHP, but they have to install and build a PHP environment in Windows. it is too cumbersome for Cainiao to let more than half of them give up, after all, Apache + PHP + MySQL is difficult to configure. for beginners, it is difficult to figure out the configurations. So the silly integrated WAMP program (Windows + Apache + PHP + MySQL) came out. this kind of software can free lazy people and new friends from the trouble of installing and configuring multiple server software, this allows students to invest more quickly in the development and learning of the PHP language.

There are a lot of WAMP-type software, and basically they are free of charge, such as XAMPP. what we want to introduce here today is-WAMP Server, right! It is called WAMP!

LAMP is an abbreviation. it refers to a group of well-known free open-source software that is usually used together to run dynamic websites or servers, including: Linux operating system and Apache Web server; mySQL database management system (or database server); PHP and sometimes Perl or Python scripting language. The first letter of each name is used to form the word LAMP. Similarly, using these software combinations in Windows is called WAMP.

????? Although these open-source code programs are not specifically designed to work with other programs, they are all open-source software that has a great impact on Web servers, as a result, these components are often used together. Over the past few years, the compatibility of these components has been constantly improved, and the application of these components has become more common. They have created some extension functions to improve the collaboration between different components. Currently, these products are included by default in almost all Linux releases. The Linux operating system, Apache Server, MySQL database, and Perl, PHP, or Python language constitute a powerful Web application platform.

The latest WAMP Server includes: Apache 2.2.11/MySQL 5.1.33/PHP 5.2.9-2. how easy is the configuration? Now, let's get started !!

Double-click the downloaded file (which is available below). The installation page is displayed, indicating that you want to uninstall the old WAMP and then install the new version.

?

?

Select "yes" to start the installation. Next, and select the installation directory. we recommend that you use the default address.

?

?

Just renew

?

?

After the installation is complete, an icon is displayed.

?

?

When running, a white icon with a highlighted red icon will appear on the tray. However, it is a bird language by default. Don't worry. this is a multi-language. Right-click the tray icon-language-Chinese to change to the Chinese version.

?

?

Switch to simplified Chinese. click the icon to start all services.

?

?

The icon is white.

Note: If Apache cannot be started, first exit the software that uses port 80 and start workstation and DNS hosts address (generally wamp \ bin \ apache \ bin \ httpd.exe ).

(Based on X-Force experience, Thunder, donkey, QQ Music, and other programs all Occupy port 80)

Then select PHPmyAdmin (a web version of the program used to manage the MySQL database)

?

?

Click "Add new user" to add a database user.

?

?

According to my settings, the user name and password are random, and my account is 123 123. In this case, we can install some common PHP programs on the local machine for fun, such as the WordPress being used by different dimensions, or a Discuz Forum. Now let's take discuz as an example. let's test it. before Discuz is installed, we need to set it up a little. Php-php settings-check the short open tag.

?

?

Download Discuz, decompress it, copy all the files in the upload folder of discuz to the www directory of wamp, and access http: // localhost/upload/install/index in the browser. php, then the discuz installation interface will appear. click I agree-check passed, and the following will appear:

?

?

Follow the settings above for the database username and password. The following is the Discuz administrator username. you can click "enter the password and proceed to the next step ". The installed page will appear! We have successfully established a forum on the Windows host. The overall steps are very simple.

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.