How to install php+mysql+zend in windows2003 II6 environment

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Windows2003+iis under Php+mysql installation, as well as the necessary zend and phpMyAdmin.

The installation steps for PHP are as follows:

1. To download the http://www.php.net/downloads.php for your PHP version, we take the installation of PHP 5.2.17 as an example.

2. Unzip the compressed package you downloaded to the c:/php, and add the Everyone user group (read and run permissions) under the PHP folder (the permission settings are required, otherwise the configuration is not working properly).

  

3. Find php.ini-recommended under PHP folder, copy one and name PHP.ini, and modify two places in php.ini:

1, find Extension=php_mysql.dll, remove the preceding semicolon. (MySQL extension)

2, find Extension_dir = "./", change to Extension_dir = "c:/php/ext/" (c:/php/ext/absolute path for ext subdirectory)

Then copy the php.ini to the Windows directory and copy the Libmysql.dll to the System32 directory. So far, the PHP program requires a file.

4. Configure IIS to support PHP. In Explorer, create a new directory as the site directory, and add the Everyone group to the permissions.

Add Filter: Create a new Web site in IIS, open the Properties dialog box, select the ISAPI Filter tab, and add a filter (ISAPI Filters) named PHP with an executable file as Php5isapi.dll in the PHP directory, as shown in figure:

  

Then click on "Home directory" and modify "Execute Permissions" to "Pure script":

  

Add mappings: Continue to click "Configure" and add an extension of. php to the Mapping tab, and the executable file is a C:\php\php5isapi.dll mapping, as shown in figure:

  

Add service Extensions: Add an extension to the Web service Extensions for IIS, the extension is PHP, the required file is the Php5isapi.dll path, and select "Set extension status to allow".

  

Now that PHP has been configured successfully, you can write a PHP message in the site root directory to view the file phpinfo.php:

  

Phpinfo ();

?>

Can be viewed with http://localhost:80/phpinfo.php. You do not need to restart IIS, and you do not need to reboot the server.

Note: There are two places to set permissions, if these two local permissions are not set up, the PHP page will not display, respectively:

1, add the PHP directory everyone permissions

2, add the site program directory of Everyone permissions.

At this point, PHP is completely installed.

MySQL and Zend installation is relatively easy to install almost all the way to the successful installation, but the process of installing MySQL need to be careful to choose MySQL installation path and data storage path.

Installation completed, that is, completely set up the Windows2003+iis+php+mysql+zend operating environment.

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.