Win2008 IIS 7.0+php,mysql,zend,phpmyadmin configuration Diagram _win Server

Source: Internet
Author: User

First, make sure you've downloaded the program.
Mysql-5.0.41-win32, phpMyAdmin-2.11.3, zendoptimizer-3.3.0a, Php-5.2.5-win32

First unzip the PHP compression package to E disk, such as E:\php (can also be other disk characters, personal preferences)

1 , IIS Manager Main Interface

2 , configuring ISAPI Filter

Open the ISAPI filter for the site and add a filter.

The filter name is PHP and the executable path is F:\php\php5isapi.dll

3 , configuration handler mappings

Add script Map

Request path is *.php, executable file path is F:\php\php5isapi.dll, name is PHP

4 , configuring the application pool

Add Application Pool

Name is PHP,. NET Framework Version selected "No managed Code", Managed channel mode select "Classic"

5 , changing the site application pool

Select the application pool for the PHP application pool you just created

6 , adding a default document

Add a document with the name index.php

7 , configure PHP.ini

Change the name of the php.ini-dist in the F:\php directory to php.ini and copy it to the X:\Windows directory (x is the letter of your system)

and remove the quotes in front of the php_gd2.dll,php_mcrypt.dll,php_mysql.dll,php_pdo_mysql.dll so that PHP can support these extensions

8 , configure extension Path

Change Extension_dir path to f:/php/ext/(must end)

9 , configure Session.save_path Path

Change Session.save_path path to f:/php/tmp (this directory needs to be built manually)

Now the basic configuration of PHP has been completed, the following start to explain the configuration phpMyAdmin, first the contents of the compressed package to X:\inetpub\wwwroot\phpmyadmin

9 , configure phpMyAdmin the authentication method Modify phpmyadmin\libraries\config.default.php file

$cfg[' Servers ' [$i] [' auth_type '] = 'config'; change to $cfg[' Servers '] [$i] [' auth_type '] = 'cookie';

Ten , configure phpMyAdmin the private key used for encryption

Change the $cfg[' blowfish_secret '] = '; to the $cfg[' blowfish_secret '] = 'im286';

The phpMyAdmin configuration is now complete.

One , installation Zendoptimizer

All the way directly next to complete the installation, install the path where can be set to F:\Zend

After the default installation is completed, you can not directly support Zend encryption, you need to do special settings. Here's how to configure Zend and allow PHP to support

Back to the desktop, right-click on "My Computer" and click "Properties"

Then the window appears, and then click Advanced System settings in the right column.

Then click on "Environment variables" below

Double-click to open the Edit Path variable window, and then add the previous

F:\php; F:\php\ext; F:\Zend\lib; F:\Zend\lib\Optimizer-3.3.0\php-5.2.x;

Then click OK to complete the configuration

Note: If your Zend version and PHP version are different from what I have demonstrated, the path above may change, please modify the file path

One , install MySQL

Execute the installer directly to the next step. The installation path is free to choose from, and the default is OK. It's just a matter of personal preference.

After installation, the program will prompt you to configure MySQL

1. Configuration window

2. Ask what configuration you use, here you can choose standard Configuration, which is standard configuration

3. Install system services, direct next can be

4. Set root password, direct input can be ... The first time it was set without the current root password: This option, because I was already installed, I need to confirm the password for the present root when I set the password again. But the first installation is not, this step can be ignored. ^^

5. Application Configuration

MySQL is installed

Now that all the configuration has been completed, if not unexpected, then your IIS 7.0 can now support Php,mysql,zend,phpmyadmin.

Create a new index.php file in your Wwwroot directory and enter the following

<?php

Phpinfo ();

?>

Exit Save ...

Then open your browser, open the site HTTP://127.0.0.1/

Haha, see not ... PHP is supported.

You can also download a PHP probe. This interface is a little bit friendlier.

If you use the ASP program when you find that the program is not used, then the estimate is the parent path support does not open. The figure below tells you how to open

Change the default false to True and apply the changes to

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.