Graphic tutorial on configuring Php + Mysql + zend in IIS

Source: Internet
Author: User

In order to meet the public beta of dvphp, this tutorial is specially released. I hope it will be helpful to some friends who will not, and I hope to give more advice to them!

The following tutorials are all implemented in windows 2000. For other systems, see modify them. For 2003 systems, change winnt to windows.

Operating System Directory: c: \ winnt
Default PHP installation directory: C: \ php
PHP version: PHP 4.3.10: http://www.php.net/downloads.php (Windows Binaries)
Mysql version: mysql-4.0.22-win: http://dev.mysql.com/downloads/
Zend: Zend Optimizer v2.5.5 (optional)

First, extract the php compressed package to the c: \ php Directory,
First, change php. ini-dist to php. ini.
Then copy php. ini and php.exe to the winnt directory...
Copy php4ts. dll and php4isapi. dll (in the sapi directory) to the winnt/system32 directory ..........

To enable your PHP to support more modules, open Php. ini in notepad and search extension_dir to change the value./to C: \ PHP \ extensions.

The image of this topic is as follows:

Then search; Windows Extensions opens the following extension modules, as long as the previous ones are removed... but some modules are not supported ..

Create a PHP program test directory under IIS, such as D: \ WEB.
In Service Manager, right-click "Default Web site-> New-> site", alias: web, actual path: D: \ web
You must have the permission to read, run, and browse scripts;

Add a php filter to the ISAPI reseller of IIS.

The image of this topic is as follows:

Php has two running environment modes...
But they are all added from here.
Php has two running environment modes...
But they are all added from here.

The image of this topic is as follows:

Then select Add

The image of this topic is as follows:

1. If you want to use the Isapi mode, Run "C: \ WINNT \ System32 \ php4isapi. dll" in the main directory of IIS to modify the executable path.

The path here can also be the path where your php file is placed, such as C: \ php \ php4isapi. dll.

The image of this topic is as follows:

The image of this topic is as follows:

The path here can also be the path where your php file is placed, such as C: \ php \ php4isapi. dll.

If you want to use CGI/FastCGI mode, first search for cgi. force_redirect = in php. ini to remove the previous; number and change the value to 0 (the default value is 1)

Then, modify the executable path in the main directory under IIS: C: \ WINNT \ php.exe

The path here can also be the path where your php file is placed, such as C: \ php \ php.exe.

The image of this topic is as follows:

The image of this topic is as follows:

Do not forget to restart the iis www service after completing these preparations;

Write the info. PHP file for testing the php environment in the D: \ web directory,
Content:
Phpinfo ();
?>

Enter http: // your IP address/info. php In the browser
You will see information about the PHP environment running your system.
ZEND installation:

One way to NEXT, and then to the following screen, please select IIS,

After continuing to NEXT, the directory where php. ini is selected is default...

The image of this topic is as follows:

The image of this topic is as follows:

The image of this topic is as follows:

NEXT, the installation will automatically back up your PHP. INI file and restart the IIS service ..

The image of this topic is as follows:

MYSQL installation:

The installation of MYSQL is relatively simple. After the installation is completed, it is automatically started as a service of the system.
I will not describe them here...

Now, your iis support for php + mysql + zend is successful. Of course, zend can be installed without installation or delay.

For more information, see

Http://bbs.cndw.com/dispbbs.asp? Boardid = 8 & id = 1240285

In addition, if you encounter problems during the configuration process, you can contact the forum or email me and try to take the time to solve them.

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.