Install PHP4 and MySQL under Windows 2000_PHP Tutorial

WBOY
Release: 2016-07-13 17:11:41
Original
718 people have browsed it

Install mysql first, open the software package with winzip8.0 for complete installation, the default installation path is: c:mysql;
After the installation is completed, open "Run" in the "Start" button and enter the command: C:mysql inmysqld -nt.exe --install and execute;
Open "Programs" => "Management Tools" => "Services" under the "Start" button, find the "mysql" service, and start it;
At this point, MySQL installation is complete, restart win2000adanced server. You can also open C:mysql inwinmysqladmin.exe. When you use 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 winzip to extract 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 the directory Copy the two files php.exe and php.ini-dist under c:winnt;
Rename c:winntphp.ini-dist to php.ini, open it and find; Windows Extensions, change extension= Remove the ";" in front of php_calendar.dll, extension=php_zlib.dll, extension=php_ldap.dll and close the file.
Open "Programs" under the "Start" button => "Administrative 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 "Executable File" C:WINNTphp.exe %s %s", enter ".php" in "Extension" and click "OK".
Then, select the "ISAPI Filter" page and click the "Add" button; enter "php" in the "Filter Name", enter "C:WINNTsystem32php4isapi.dll" in the "Executable File", and click " Sure".
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.
Close all windows, restart the system, and open the IE browser for testing.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629584.htmlTechArticleFirst install mysql, use winzip8.0 to open the software package for complete installation, the default installation path is: c:mysql; After the installation is complete, open "Run" in the "Start" button and enter the command: C:mys...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!