Because of the need of work, it is often necessary to provide design prototypes for everyone to access, but some designs are being modified, each time uploading to the server Trouble, so configure your own notebook (Windows7 system) IIS and support for PHP, easy to Aclure generated prototypes others can directly access, the following detailed steps to share the configuration to everyone;
This is free of the database The installation is relatively simple, step by step:
First, install IIS for Windows7
Go: Control Panel > Programs and Features" Open or close Windows function, find Internet information service Click on the previous box to fill it, as shown below:
After the installation is successful, open a browser and enter http://127.0. 0.1 (new window directly open), if you enter the following interface, it means the installation is successful;
If you only need the other party to access some html pages or use asp, you do not need to configure P HP, you can go to the Control Panel > Administrative Tools Inter Information Service (IIS) Manager to make simple settings, change the physical location of the website directory, and then put the page into the directory to access it (need to turn off the firewall); It is also possible to change the directory. The default directory is in the corresponding location under the C drive.
Second, download and configure PHP
1, download PHP, windows.php.net/downloads/releases/php-5.3.2-Win32-VC9-x86 .zip" target="_blank">Click here to download PHP5.3 directly from the official website, or you can go to the official website to view the download → PHP For Windows.
2. Unzip the downloaded zip archive to the C drive, and extract it to C:\\php;
3, enter the control panel>Administrative Tools>Inter Information Service (IIS) Management
4, as shown below (often need to enter the page), double-click to enter the ISAPI filter:
5, right click in the middle, select add, as shown below Fill in, select the appropriate file and determine:
6, then enter the 4 page, double-click to enter the handler mapping, right click in the middle, select add script mapping, fill in the following figure, select the corresponding File and determine:
7. Click on the application pool on the left, right click in the middle, select Add Application Pool, fill in the following figure, select the corresponding value and confirm:
8. Enter the 4 page again, double-click to enter the default document, click Add in the middle, fill in and confirm as shown below:
9, enter C: \\php directory, rename the file php.ini-list file named php.ini and copy it to c:\\windows directory;
10, modify c:\\windows\\php.ini file (with notepad Open it, search for extension=php, Go to the box in the picture below and delete the previous one;
Search for extension_dir=change it to extension_dir = "c:\\php\\ext\\", Save and check and save;
11, open C:\\php directory, find libmcrypt.dll, libmysql.dll, php5ts.dll three files and copy them to F:/windows/System32 directory; Br>
At this point, the setup process is over, create the index.php file in the default website directory (can be created with Notepad, save as index.php, not index.php.txt), write content < ;?php phpinfo();?> can, then visit http://127.0.0.1/index.php to check whether the configuration is successful;
Note: You can also learn to install Xampp, which automatically configures Apache Service, support for PHP, MySQL, phpMyAdmin, it is also more convenient, I am not installing on my own computer because I want my system to be as simple as possible, and I do not use database and database management, and IIS service does not need to be manually started, as long as networking Other users with LAN can access it (provided the firewall is turned off).
PS: If you need to install WordPress, Discuz and other site programs on your computer, then the database is essential, you need to continue to install the database, or choose to install Xampp, this is not much to introduce, online There are a lot of tutorials, you can also ask me (I am a rookie, can only learn together).
Excerpt from: dboy~小真の365天
cad is a well-known graphic design software, many design practitioners will use this software, this
1. Open the computer (my computer), type “>MineSweeper.exe“ in the search box o
A thumbnail is a thumbnail display of a picture. It takes a lot of pictures and scales i
In the 98 and XP period blue screen problem is particularly prone, of course, in the XP era is relat
Seventy essential skills to play with Win7
The method of restoring the default font of win7 system
Win7 computer running PS software prompts that there is not enough space to do
How to correctly identify GhostXP system and WindowsXP system
Win 7 system can not recognize the U disk solution
Win7 cpu usage rate 100 how to do
MSN automatically offline solution in Win7
Windows 7 system hangs up to download super power saving strategy
Win7 system program runs less CPU usage, what to do
What should I do with the sound card driver error of win7 computer?
Meitu Xiu Xiu how to make a cartoon ID card tutorial
Win10 update failure prompts error code 0x80246019 how to solve?
How to solve the Windows 8 system resource manager suspended animation problem
Win10 10586.545 Cumulative update patch KB3176492 starts to push with update content summary
The real thing is now! Windows7 RC version full experience
Windows XP print sharing four major problems and solutions
How to set up the Win10 system to automatically empty the recycle bin?
Windows XP recorder settings and CDRW disk removal
Simple way to improve the speed of XP
Let Windows 7 Media Center support more file formats and folders