_php tutorial for configuring Php+mysql+zend under IIS

Source: Internet
Author: User
Tags file info zend

In order to meet dvphp public test, special hair This tutorial, hope to some friends will help, hope will friends more advice!

The following tutorials are implemented under Windows 2000, other systems please refer to the modification, 2003 of the System please change the Winnt to Windows.

Operating system directory: C:\Winnt
PHP default installation directory: C:\php
PHP Version: PHP 4.3.10 download Address: http://www.php.net/downloads.php (Windows Binaries)
MySQL version: Mysql-4.0.22-win download Address: http://dev.mysql.com/downloads/
Zend:zend Optimizer v2.5.5 (optional installation)

First unzip the PHP package into the c:\php directory,
First Php.ini-dist renamed to PHP.ini
Then php.ini and Php.exe are copied to the Winnt directory ...
Php4ts.dll and Php4isapi.dll (this in the SAPI directory) are copied to the Winnt/system32 directory ....


To enable your PHP to support more modules, open php.ini in Notepad to search for extension_dir values./Change to C:\PHP\extensions

The relevant pictures of this topic are as follows:

then search; Windows Extensions will open the following extension module as long as the previous; However, some modules are not supported.

Build a PHP Program Test directory under IIS, such as D:\WEB, in the Internet
Service Manager, right-click New site, "Default Web site," the alias is web and the actual path is D:\web
To have read, run scripts and browse permissions;

Add a filter for PHP in the ISAPI brush selector for IIS


The relevant pictures of this topic are as follows:

PHP has two operating environment modes ...
But it's all added from here
PHP has two operating environment modes ...
But it's all added from here


The relevant pictures of this topic are as follows:

And then select Add



The relevant pictures of this topic are as follows:

1. If you want to use ISAPI mode, under IIS--Home directory configuration Modify the executable path: C:\WINNT\System32\php4isapi.dll

This path can also be the path to your PHP file placement, such as C:\php\php4isapi.dll



The relevant pictures of this topic are as follows:


The relevant pictures of this topic are as follows:

This path can also be the path to your PHP file placement, such as C:\php\php4isapi.dll

If you want to use cgi/fastcgi mode, first search in php.ini cgi.force_redirect = Remove the preceding; Change the value to 0 (default is 1)

Then, under IIS----home directory configuration, modify the executable path: C:\WINNT\php.exe

This path can also be the path to your PHP file placement, such as C:\php\php.exe




The relevant pictures of this topic are as follows:


The relevant pictures of this topic are as follows:

Do not forget to restart the IIS WWW service after completing these preparations;


Write a file info.php that tests the PHP environment in the D:\web directory,
The contents are:
Phpinfo ();
?>

then enter HTTP.//Your ip/info.php in the browser
You will see a message about the PHP environment in which your system is running
Installation of Zend:

Next, then go to the next screen, select IIS,


After you continue to next, select the directory where php.ini is the default ...


The relevant pictures of this topic are as follows:


The relevant pictures of this topic are as follows:


The relevant pictures of this topic are as follows:

Then next, the installation process automatically backs up your php.ini files and restarts the IIS service:


The relevant pictures of this topic are as follows:

Installation of MySQL:

MySQL installation is relatively simple, all the way next, installation is complete, will automatically as a system to start a service.
Here no longer one by one description ...

At this point, your IIS support Php+mysql+zend success, of course Zend can choose to install, do not install or delay use.

Because the picture shows the problem, please see in detail

http://bbs.cndw.com/dispbbs.asp?boardid=8&id=1240285

Another: If you encounter problems in the configuration process can be forum information or email me, try to take the time to help everyone solve

http://www.bkjia.com/PHPjc/317475.html www.bkjia.com true http://www.bkjia.com/PHPjc/317475.html techarticle in order to meet dvphp public test, special hair This tutorial, hope to some friends will help, hope will friends more advice! The following tutorials are all implemented under Windows 2000, other systems ...

  • 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.