Install PHP4 and MySQL under IIS

Source: Internet
Author: User
Tags filter iis ini mysql php file zip
Iis|mysql my php4 and MySQL packages are php-4.0.1pl2-win32.zip, Mysql-3.23.19-beta-win.zip.

1, first install MySQL, with winzip8.0 Open package for full installation, the default installation path is: C:\mysql;

2, after installation, open the "Start" button in the "Run", enter the command: C:\mysql\bin\mysqld-nt.exe--install, and implementation;

3, open the "Start" button under the "program" = "" management tool "=" "service", find the "MySQL" service, start it;

4, at this point, MySQL installation completed, restart win2000adanced server. You can also open C:\mysql\bin\winmysqladmin.exe, the first time you use it, you need to set up an administrator name and password, I set to root and (YourPassword) respectively. When you close it, the program automatically creates a small "traffic light" icon under the status line.

5, now start to install PHP4, the package will be WinZip extracted to C:\PHP4 under the directory, and then copy all the DLL files under C;\winnt\system32, do not overwrite existing DLL files , then Php.exe and php.ini-dist two files under the catalogue to C:\Winnt;

6, will c:\winnt\php.ini-dist renamed as PHP.ini, and open it, find; Windows Extensions, which will

Extension=php_calendar.dll
Extension=php_zlib.dll
Extension=php_ldap.dll

Before the ";" Remove, close the file.

7, open the Start button under the program = "Administrative Tools" = "Internet Services Manager", select the Default Web site, open its Properties window. Under the Web Site page, change the IP address: "All Unassigned" (your IP address, for example, 202.195.243.131), and TCP port is "80".

8, Next, select the Home Directory page, after clicking the Configure button under Application settings, click the Add button under the New window, enter C:\WINNT\php.exe%s%s in the executable file, enter ". php" in the extension, and click OK.

9, Next, select the ISAPI filter page, click the Add button, enter "PHP" in the filter name, enter "C:\WINNT\system32\php4isapi.dll" in the executable, and click OK.

10, Next, select the Documents page, click the Add button, enter "index.php" in the default document name, click OK, and raise it to the highest level. You can also add commonly used PHP file names, such as "default.phtml", "index.php3" and so on.

11, close all windows, restart the system, you can open IE browser to test.




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.