Detailed video tutorial on Wamp Environment Construction
Students who like PHP add [yan 18-PHP public welfare group 4]
We can see that everyone is using a "one-click environment" toolkit like wampserver, appserv, and XAMPP. "One-click environment toolkit for these tools"
First of all, I solemnly declare that I have not excluded the "one-click environment" toolkit.
This type of tool can indeed prevent PHP users from being blocked. (I learned PHP by myself at the time. I didn't know this tool. It took me more than three hours to install a Wamp environment, and I almost gave up)
Therefore, the "one-click environment toolkit" makes PHP more friendly. The Learning threshold is greatly reduced. It is undeniable that the one-click environment toolkit is an indispensable and important force for lamp development.
Advantages:
1. Install it with one click.
2. Integrate some common tools, such as phpMyAdmin, with a small volume.
3. Easy to use, one-click Start/close
However, this is only suitable for beginners who are new to PhP. As a beginner in PHP, you should not continue using such tools.
Disadvantages:
1: some default configurations lead to inexplicable errors during learning. For example, MySQL does not have a password by default, and some database tools cannot connect to databases without a password.
2: the directory structure of lamp is not in line with the general rules. If a newbie doesn't know it, he also thinks that the lamp environment structure should be like this, and it will crash when another environment is changed.
3: The disadvantage is that we learn/learn lamp technology well.
Because, do not know the directory structure of lamp, do not know its core program, extension module, Mode settings, permission settings, virtual directory, route settings, cache settings, even more advanced configurations are unfavorable to our understanding of lamp.
4: it is inconvenient to change the version. If, I only Upgrade PHP or MySQL .. You can't do anything about it. For example, we may want to learn about the nginx structure in the future. Some companies may use non-MySQL databases, so we will not have such a one-click environment. We still need to learn how to build this environment.
There are many other issues that will not be listed one by one. In short, we have already planned to learn lamp well without configuring our own lamp.
Well, we have finished speaking nonsense and entered the topic. It turned out to be a Wamp structure, so we should have these software. Otherwise. There's no more to say. (The above are all nonsense and you can go straight to the topic)
Software: apache_2.2.14-win32-x86-no_ssl.msi
Software 2: mysql-5.5.20-win32.msi
Software three: php-5.3.2-Win32-VC6-x86.zip software four: phpMyAdmin-3.5.3-all-languages.7z
The above software is packaged in the Resource Sharing Section for you to download.
I will list them as a few steps
1: Create a basic directory structure
2: Install and set Apache
Install Apache in the Wamp directory
Test whether Apache is successfully installed.
3: Load PHP into Apache as a module
Decompressing PHP files in the specified directory
Select and rename the php. ini configuration file
Loadmodule php5_module "D:/XXX/php5apache. dll"
Phpinidir "D:/XXX"
Addtype application/X-httpd-PHP. php. phtml
Test whether PHP has been installed successfully-use phpinfo (); Function
Modify it as needed. Some small configurations, such as the time zone
4. Install MySQL
Load MySQL program files into a specified directory
Load Mysql Data Files into a specified directory
5. Configure PHP to connect to MySQL
Enable MySQL and other modules in PHP. ini.
Copy the key file to the System32 directory.
Now, the entire process is complete.
You can also install
Resources such as phpMyAdmin are listed below:
Http://pan.baidu.com/share/link? Consumer id = 115296 & UK = 237228145
Wamp a set: http://pan.baidu.com/share/link? Consumer id = 115295 & UK = 237228145
Address Source: http://www.zixue.it/thread-3847-1-1.html