Home  >  Article  >  Backend Development  >  Simple configuration of PHP server under Win200_PHP tutorial

Simple configuration of PHP server under Win200_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:27:25773browse

Apache is used by many people here, but few people release simple configuration instructions for 2000. I just wrote a little bit of it, which can be regarded as sharing! Install mysql first, the default installation path is: c:mysql; After the installation is completed, open "Run" in the "Start" button, enter the command: C:mysql/bin/winmysqladmin, and execute it; When using it for the first time, You need to create an administrator name and password. I set them to root and (yourpassword) respectively. After closing it, the program automatically creates a small "traffic light" icon under the status line. Now start installing php4. Use winrar to unzip the software package to c:php4, then copy all the dll files in the directory to c:winntsystem32. Do not overwrite the existing dll files; then copy php.exe and php.exe in the directory. Copy the two files php.ini to c:winnt; modify php.ini; cgi.force_redirect = 1 to cgi.force_redirect = 0 and save. Open "Programs" under the "Start" button => "Management Tools" = 》"Internet Service Manager", select "Default web site" and open its "Properties" window. Under the "website" page, change "IP Address": "All Unallocated" to "(your machine's IP address, for example: 202.195.243.131)"; "TCP Port" to "80". Next, select the "Home Directory" page, click the "Configure" button under "Application Settings", click the "Add" button in the new window; enter "C:WINNTphp.exe %" in "Executable File" s %s", enter ".php" in "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 File", and click "OK". Next, select the "Document" 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", etc. After closing all windows and restarting the system, you can open the IE browser for testing.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531872.htmlTechArticleMany people here use Apache, but few people release simple configuration instructions for 2000, so I wrote a little bit. , it can be considered as sharing! Install mysql first, the default installation path is: c:mysql; After installation...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn