Simple configuration of PHP server in Win200

Source: Internet
Author: User
Apache is used by many people here, and few people release simple configuration instructions of 2000. I wrote a little bit, which is shared! Install mysql first. the default installation path is c: mysql. after the installation is complete, open "run" in the "start" button and enter the command: C: mysqlbinwinmysqladmin and execute it; when I use it for the first time, I need to set up the administrator name and secret. Apache is used by many people here. few people release simple configuration instructions of 2000. I just wrote a little bit about it, which is shared!

Install mysql first. the default installation path is c: mysql. after the installation is complete, open "run" in the "start" button and enter the command: C: mysql/bin/winmysqladmin, and run the command. when you use it for the first time, you need to set the administrator name and password. I will set it to root and (yourpassword) respectively ). When it is disabled, the program automatically creates a small "traffic light" icon under the status line.

Install php4 and decompress the package with winrar to c: example and php. copy the ini files to c: winnt and modify php. cgi. force_redirect = 1 is cgi. force_redirect = 0 save. open "program" = "management tools" = "internet service manager" under the "start" button, select "default web site", and open its "properties" window. On the "web site" page, change "IP address": "All not allocated" to "(your host's IP address, for example, 202.195.243.131 )"; "TCP port" is "80 ". Next, select the "main directory" page, click the "configuration" button under "application settings", and click the "add" button in the new window; enter "C: WINNTphp.exe % s" in the executable file, and enter ". php, and click OK ". Next, select the "ISAPI filter" page, click the "add" button, enter "php" in the "filter name", and enter "C: WINNTsystem32php4isapi" in the "executable file. dll, and click OK ". Next, select the "document" page, click the "add" button, enter "index. php" in "default document name", click "OK", and raise it to the highest level. You can also add common php file names, such as "default. phtml" and "index. php3. Close all windows. after restarting the system, you can open IE browser 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.