As far as I know many of my classmates want to try to learn about PHP, helpless to set up Windows to install a PHP environment, good for novice students to learn enough to make it less cumbersome for people to abandon more than half, after all, Apache + PHP + MySQL This 3 configuration up more trouble for the novice to figure out which configuration really is foggy. So fool the WAMP integrated program (Windows + Apache + PHP + MySQL) came out, such software can remove the lazy and novice friends variety of server software installation and configuration problems, so that students more quickly into PHP language itself to the development and study them.
WAMP class of software there are many, and are basically free of charge, such as XAMPP, etc., but here we want to tell you that - WAMP Server, right! It is called WAMP!
LAMP is an acronym, it refers to a group of commonly used together to run dynamic websites or servers known free and open source software, including: Linux operating system; Apache Web server; MySQL database management system (or database server); PHP and sometimes Perl or Python scripting language. Take the first letter of their name the word on the composition of the LAMP. Similarly, in the Windows operating system to use these software combination is called a WAMP.
Although the open source process itself is not specifically designed to work together with several other programs, but because they Dushi For building Web server, the impact of large open source software, which resulted in these components often Peige used together. In the past few years, constantly improve the compatibility of these components, together with the application of the situation has become more common. And they are to improve collaboration between the different components, has created some of the extensions. Currently, almost all Linux distributions are included by default in these products. Linux operating system, Apache server, MySQL database and Perl, PHP or Python language, these products together to form a powerful platform for Web applications.
The latest WAMP Server, including: Apache 2.2.11 / MySQL 5.1.33 / PHP 5.2.9-2, its configuration super-easy, exciting, right? Well, go! !
Double-click the downloaded file (under Download), installation interface appears, telling you to uninstall the old version and then install the new version of WAMP
Select "Yes" to start the installation, and then all the way Next bar, then select the installation directory, it is recommended to use the default address
Select the installation directory selected to continue after the next point, then the icon that is fast, domain names, etc., that I do not say, and point next on the list, select the installation to the last explorer prompt appears, navigate to% windir% explorer. exe can be
Installed, the icon will appear
Operation of, then the tray will see a dotted red and white icon, but the default is the birds, do not worry, this is a multi-language. Right-click the tray icon-language-Chinese into the Chinese version can be
Then it will switch to English, click the icon to start all services
Then the icon will become white.
PS: If Apache can not start, please exit port 80 occupied by the software, start the workstation and the DNS Client service, network protocols to install Microsoft Network Client, if you have not started, the name of your connection - Properties - Network-Internet Protocol - Properties - Advanced-WINS-Import LMHOSTS-your apache's httpd.exe address (usually wamp \ bin \ apache \ bin \ httpd.exe) can be a
(According to X-Force experience, Thunder, eMule, QQ music program will take up port 80 yo)
Choose PHPmyAdmin (a web version of the procedures used to manage MySQL database)
Click to add a new user, we added a database user
In my setup, the user name and password free, I is 123 123. Then we can in the PHP installation of some commonly used procedures to play, for example, Yi Ciyuan are using WordPress, or a Discuz forum. Now we discuz as an example, to test, Discuz setting before installation, but also a small look, Php-php settings - Check the short open tag
Download Discuz, decompression, will discuz the upload folder for all files to the www directory of wamp in the browser http://localhost/upload/install/index.php, then the installation will appear discuz interface, and click the I agree - passed the test, appears:
Database user name and password in accordance with the above settings, the following is Discuz administrator user name, password, random, click on "completed, the next step." Installation is complete, the interface will appear, ready! We have successfully set up in Windows on this machine its own forum, and general steps are very simple.