A course of windows7+iis+php environment setup

Source: Internet
Author: User
Tags php file win32 zip mysql view

Because the computer uses the Windows 7 32-bit system, has the own IIS, does not want to install a server software for PHP, went on the net to look for some related iis+php the construction method, following is the blogger according to the on-line data carries on the summary, may use for the future

1. List of software to be required:

Php-5.2.0-win32.zip
Mysql_5.6.10_win32.zip
Navicat_for_mysql_10.1.7.exe (a more practical MySQL view management software)
Download Address: iis+php installation package. zip

2. Setting up the environment:

First install good iis,php,mysql these three (concrete installation method here is not written, there are many graphics and text tutorials online)! Php-5.2.0-win32.zip is just a compressed package, you can extract directly to a certain disk character directory, the blogger extract directory is: D:\PHP (can be customized to extract the directory, directory name is best not to have Chinese characters

After decompression installation completes, opens the PHP decompression directory, finds in this directory file name is: php.ini-dist The file, copies it to duplicate one and the life: PHP.ini, double clicks opens the file to find the following characters and modifies:
Extension_dir= ". /"Change to Extension_dir=" D:\PHP\ext "(double quote content is the Ext folder path under the Extract directory of PHP file)
Locate the following characters and remove the semicolon (;) that precedes the character.
Extension=php_mbstring.dll
Extension=php_mysql.dll
Save and close the php.ini file after you complete the above modifications

3. Copy or cut the following files to a specific place to complete the installation of PHP
Php.ini→c:\windows
Php5ts.dll→c:\windows\system32
Libmysql.dll→c:\windows\system32
To this PHP installation is complete

4. Complete the configuration of IIS
the preferred opening of the IIS Control Panel (run [win+r]→ command [inetmgr]) pops up a window, the list in the left column of the window, and the left key selects default WebSite (default site)

In the right-hand menu bar, there will be a menu of functions, the function menu found in the handler mapping and open in its right-hand column to find Add script mapping point open
Input content
Request Path: *.php
Executable file: D:\PHP\php5isapi.dll
Name: can be filled by oneself

When you are finished, click Save and re-IIS to complete the entire environment match work
Next, set up a PHP file in the IIS Web site directory to test if it works.

Personal Summary

If like PHP Beginners for PHP environment configuration do not understand that we can directly download a phpstudy Suite installation package, one can help you install a good php+mysql+apache+phpmyadmin environment Oh, do not need you to do any one step can be, As convenient as the installation of software Oh.

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

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.