Windows2000 installation PHP4 and MySQL disclosure

Source: Internet
Author: User
Tags php file zip

My php4 and MySQL packages are php-4.0.1pl2-win32.zip, Mysql-3.23.19-beta-win.zip.

Install MySQL first, use winzip8.0 to open the package for full installation, the default installation path is: C:mysql;
When the installation is complete, open "run" in the Start button, enter the command: C:mysqlinmysqld-nt.exe--install, and execute;
Open the "Start" button under "program" = "" governance Tool "=" "service", find the "MySQL" service, start it;
At this point, the MySQL installation is complete, restart win2000adanced server. You can also open C:mysqlinwinmysqladmin.exe, the first time you use it, you need to set up the 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.
Now start installing PHP4, unpack the package with WinZip to C:PHP4, and then copy all DLL files under the directory to C;winntsystem32 and do not overwrite existing DLL files , then Php.exe and php.ini-dist two files under the catalogue to c:winnt;
Rename the c:winntphp.ini-dist to PHP.ini, and open it, find it; Windows Extensions, remove the Extension=php_calendar.dll, Extension=php_zlib.dll, Extension=php_ldap.dll before ";" and close the file.
Open the Programs => "Governance tools" => "Internet Service Manager" under the Start button, 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.