Win2003 Configure Iis+php+mysql+zend graphics and text to support Asp,.net,cgi,perl and Php_win servers

Source: Internet
Author: User
Tags install php mysql in phpinfo win32 mysql login zend
Required software: ActivePerl, PHP, MYSQL, Zend (first, install the IIS6.0; second, configure the PHP environment; third, install MYSQL; install Zend Optimizer; v. Configure phpMyAdmin)

Win2003 configuration under Iis+php+mysql+zend
2, download the corresponding software PHP environment (download address: http://s.jb51.net/)
Recommended configuration: Php-5.2.1-win32.zip, Mysql-5.0.37-win32.zip, Zendoptimizer-3.3.3-windows-i386.exe

first step, install PHP
Extract php-5.2.6-win32.zip, then rename Php-5.2.6-win32 folder to PHP, copy to E disk (optional).

Change the php.ini-dist rename under e:/php/to PHP.ini,
Open the php.ini file and locate: extension_dir= "./" and change it to extension_dir= "E:\php\ext"

Put the following extension features in the
; Extension=php_gd2.dll
; Extension=php_mbstring.dll
; Extension=php_mysql.dll
To remove a note from the front;
The php.ini is then copied to the Windows directory (if it is a 2000 system, it is placed in the C:\Winnt directory).

6, put the PHP5 root directory of Php5ts.dll, Libmysql.dll, libmcrypt.dll these three files into the system system32 directory, note that these three files are required.

The second step, iis6 load PHP extension

Open IIS Manager, point Web Service Extensions--Add a new Web service extension, extension PHP, where required files, add a file path to E:\php\php5isapi.dll files, where to set the extension status to allow where to tick, as shown in the following figure




Right-click on the site-properties, as shown in the following illustration:


Add a new filter to the ISAPI filter, Name: PHP, executable file or above E:\php\php5isapi.dll




In the home directory, execute permissions there, change to script and executable files, point configuration, as shown in the following figure

Then click < Configure to add PHP application extension mappings


Finally click OK.
Configuring the default site

First set up Wwwroot directory in E-disk


Right-click Default site--->





Click < properties > To modify the local path to E:\wwwroot directory and Execute permissions to script and executable files.

Second, click < document > tab


Third Step, install Mysql-5.0.18-win32.zip, download to the server desktop decompression.

Click the MySQL installer setup.exe, select (custom)--install MySQL in the E:/mysql directory and install the following image













The screenshot above is to set the MySQL login password


Click Finish to complete the installation of MySQL
When the installation is complete,
We want to copy the LibmySQL.dll under the MySQL installation directory bin to the C:/windows directory (important)

Step Fourth, install Zend below, double-click Execute Zendoptimizer-3.3.3-windows-i386.exe
Install Zend on E disk, Web server select iis6.0, server root directory modified to E:\wwwroot, then all is next, specific reference to the following screenshot









The installer then restarts IIS and the installation is complete.

The fifth step, to this, IIS under the configuration of PHP is completed, in your site directory/wwwroot, new content for
<?php phpinfo ();?> phpinfo.php,


On the server side, access to http://localhost/phpinfo.php, whether the configuration is successful
See if you can see the familiar PHP page, if you see, then the PHP configuration is successful.
The following is the success of the PHP configuration screenshot parameters are mainly viewed (php Zend MySQL GD library)




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.