Traditional Culture Encyclopedia - Traditional stories - How to build a php server?
How to build a php server?
One is linux+apache+mysql+php.
The other is windows+IIS+mysql+php.
Another method is to use apache as the server in windows mode.
This situation. The first configuration is more complicated. Moreover, it is generally used as a server for personal computer testing, and it is generally based on windows.
So the following configuration method takes windows7 as an example:
First, you need to download the original php file, which can be a green version or an installed version.
1. Compress and decompress the downloaded php. Get the following directory
、
2. add IIS. By default, windows7 does not install IIS.
Open the control panel-> Procedures and functions->; Turn windows features on or off. After IIS is installed, it looks like this:
3. Add a handler map
The request path is set to *. Php, the module is fastCgiModule. In windows+IIS mode. FastCGI mode is much more efficient than traditional isapi mode.
Executable Select the directory you just unzipped. choose Exe as the file type, and select the corresponding file. The following names can be arbitrary.
Then make sure. Restart IIS. The server is fine. Besides, the so-called MYSQL. Just download the installed version directly.
- Previous article:What to do if you can't watch your old TV set
- Next article:What's the difference between spaghetti 7# and 4#
- Related articles
- Method for make manual origami flower
- D915PDT motherboard graphics card upgrade problem, expert in!
- The most basic and important way of cultural inheritance is
- What ancient buildings are there in Shanxi?
- How to do the billboard?
- Early childhood, elementary school parent-child sketch copy material 60, collection of spare, learning to draw at home!
- What does "strict father's loving mother" mean?
- How does an enterprise position itself?
- What is the reputation of Pingyao Furniture Factory?
- Beautiful Zhongxiang City Essay 200 Words