Simple configuration of PHP server under Win200

Source: Internet
Author: User
Server here a lot of people use Apache, very few people release 2000 simple configuration instructions, I wrote a little bit, also be shared!

Install MySQL first, the default installation path is: C:mysql; When the installation is complete, open the "Run" in the "Start" button, enter the command: C:mysql/bin/winmysqladmin, and execute; The first time you use it, you need to create an administrator name and password, I am set to root and (YourPassword) respectively. When you close it, the program automatically creates a small "traffic light" icon under the status line.

Now start to install PHP4, winrar the package to C:PHP4, then copy all the DLL files under the directory to C;winntsystem32, do not overwrite existing DLL files, and then copy the Php.exe and php.ini two files in the directory to C: Winnt; modify the php.ini; Cgi.force_redirect = 1 is saved for cgi.force_redirect = 0. Open the Start button under program = "Administrative Tools" = "Internet Services Manager", select "Default Web Site", and 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". Next, select the Home Directory page, after clicking the Configure button under Application settings, click the Add button under the New window, enter C:winntphp.exe%s%s in the executable file, enter ". php" in the extension, and click OK. Next, select the ISAPI filter page, click the Add button, enter "PHP" in the filter name, enter "C:winntsystem32php4isapi.dll" in the executable, and click OK. 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. When all windows are closed and the system is restarted, ie browser can be opened for testing.

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.