PHP+MYSQL Website Development Environment Erection

Source: Internet
Author: User

Tags: win index configuration Half Music web App shortcut icon exit cannot start

As far as I know many students want to try to learn PHP, helpless to install in Windows good one PHP environment to learn for the rookie classmate is enough to let more than half of the people give up, after all, apache+php+mysql these 3 programs configuration is more troublesome, for beginners , it's really foggy to figure out what those configurations are. So the fool-type Integrated Wamp program (WINDOWS+APACHE+PHP+MYSQL) came out, this kind of software can let lazy and novice friends to avoid the trouble of installing a variety of server software, so that students quickly into the PHP language itself in the development and learning.

WAMP class of software has many, and basically are free, such as XAMPP, but today here we want to introduce to you is--wamp Server, yes! It's called wamp!.

Lamp is an abbreviation for a set of well-known free open source software that is commonly used together to run dynamic Web sites or servers, including Linux operating systems, Apache Web servers, MySQL database management systems (or database servers), PHP and sometimes Perl or Python scripting language. The first letter of their name makes up the word lamp. Similarly, the use of these software combinations under the Windows operating system is called Wamp.

Although these open source programs themselves are not designed to work with several other programs themselves, they are often used in conjunction with large open source software for building Web servers. The compatibility of these components has improved over the past few years, and the application situation has become more common. And they have created some extensions to improve collaboration among the different components. Currently, these products are included by default in almost all Linux distributions. Linux operating system, Apache server, MySQL database and Perl, PHP or Python language, these products together constitute a powerful Web application platform.

The newest Wamp server includes: Apache 2.2.11/mysql 5.1.33/php 5.2.9-2, its configuration is super easy, excited? All right, let's get started!!

Double-click the downloaded file (below), the installation screen appears, tell you to uninstall the old version of Wamp and then install the new edition

Choose "Yes" to start the installation, then go all the way next, and then select the installation directory, we recommend the use of the default address

Select the installation directory and then click Next to continue, next is the shortcut icon, domain name and so on, this I will not say more, click Next on the line, installed to the end will appear to select the Explorer prompt, positioning to%windir%explorer.exe can

icon appears when installation is complete

Run, then the tray will appear a red white icon, but the default is the birds, do not worry, this is a multi-lingual. Right click on the tray icon-language-chinese can be changed to Chinese version

Then you'll switch to Simplified Chinese, click that icon and start all services

The icon will then turn white.

Attached: If Apache does not start, please exit the software that consumes 80 ports, start the workstation and DNS Client service, install the Microsoft Network clients on the network protocol, and if you cannot start Just to your connection name-Properties-Network-internet Protocol-Properties-Advanced-wins-import lmhosts-your Apache Httpd.exe address (typically Wamp\bin\apache\bin\httpd.exe).

(according to X-force experience, thunder, Electric Donkey, QQ music and other procedures will occupy 80 port yo)

Then choose phpMyAdmin (a Web-version of the program used to manage the MySQL database)

Click Add a new user, we add a database of users

According to my settings, user name and password random, my is 123 123. At this time we can install some common PHP programs in the machine to play, such as the use of the meta-discuz WordPress, or a forum. Now we take discuz as an example, test, discuz before the installation of a small set, php-php settings-tick the short open tag

Download Discuz, unzip, copy all files in Discuz upload folder to Wamp www directory, access http://localhost/upload/install/in browser index.php, then will appear Discuz installation interface, click I agree-detect pass, appear:

Database user name and password according to the above settings, the following is the Discuz administrator user name, password casually, click "Complete, proceed to the next". There will be an installation complete interface, OK! We have successfully built a forum on Windows native, and the overall steps are very simple.

PHP+MYSQL Website Development Environment Erection

Related Article

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: and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: