Home  >  Article  >  Backend Development  >  Installation of asp+php+mysql+jsp+xsl+xml under win2k_PHP tutorial

Installation of asp+php+mysql+jsp+xsl+xml under win2k_PHP tutorial

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

It's rare to see such comprehensive installation instructions, I believe it will be helpful to everyone. My operating system: Windosws 2000 Pro version Required software: 1. IIS 5.0 2. jdk-1_2_2-win.exe 3. jakarta-tomcat.zip 4. php-4.0.0-Win32 5. mysql-3.23.36-win 6. DBTools-Manager-1.0.8 7. gyxml 8. Java API for XML Parsing 1.0.1 9. mm.mysql.jdbc-2.0pre5.tar Installation method: (First install IIS 5.0 on Windosws 2000 Pro version) 1 , Install JDK ① Double-click the jdk-1_2_2-win.exe file to install, and use the default configuration to install. The default installation directory of JDK is D:jdk1.2.2, and the default installation directory of JRE is D:Program FilesJavaSoftJRE1.2 ; ②, start updating environment variables->Settings->Control Panel->System->Advanced->Environment Variables->Add CLASSPATH to system variables: d:jdk1.2.2lib ools.jar;d:jdk1.2.2libdt.jar; c:mm.mysql.jdbc-2.0pre5;cmm.mysql.jdbc-2.0pre5mysql_1_comp.jar; Append PATH: d:jdk1.2.2;d:jdk1.2.2 in; 2. Install Tomcat ①, use WinZIP to jakarta- Unzip tomcat.zip to the D:jakarta-tomcat directory②, enter the D:jakarta-tomcat in directory, find the startup.bat batch file, open it for editing, and add the following four lines after the line: start: SET TOMCAT_HOME=d :jakarta-tomcat    SET JAVA_HOME=d:jdk1.2.2 SET CLASSPATH=d:jdk1.2.2libdt.jar SET CLASSPATH=d:jakarta-tomcatlibservlet.jar ③, double-click startup.bat to start the tomcat server. At this time, a message will appear on the screen. The dos window stops, and there are some successful tomcat running and initialization information, proving that tomcat runs successfully. ④. Enter http://localhost:8080/ on the browser. If you can see the Tomcat Version 3.1 page, it means that Tomcat is installed successfully. There are some examples of jsp and servlet above. At this point, the jsp environment is completed. Note: The above stationary DOS window cannot be closed, otherwise the tomcat server will stop serving (the JSP file runs slowly for the first time) ⑤. For the first JSP example, name the program test.jsp and put it in d: Enter http://localhost:8080/examples/test.jsp

in the browser under the jakarta-tomcatwebappsexamples directory. At this point, the Jsp environment is set up. 3. Install Php4.0 ① Unzip php-4.0.0-Win32 to D:php4, and copy php4isapi.dll and php4ts.dll in its directory to D:winntsystem32. ② Go to Control Panel => Administrative Tools => Internet Service Manager, right-click the default Web site and select Properties, first select "ISAPI Filter", and click "Add...": Filter name: php executable file :d:winntsystem32php4isapi.dll After clicking "OK", the PHP4 filter is added to IIS. Then open the "Home Directory" property page, select "Configuration (R)..." and the "Application Configuration" dialog box will pop up, and then select "Add" to pop up the "Add/Edit Application Extension Mapping" dialog box. Fill in "D:php4php.exe %s%s" in the "executable file" and fill in ".php" in the "extension". Note that the above "%s %s" is required, otherwise PHP4 will not work properly. (You can add php4 and php3 again as needed, the method is the same as above) At this point, the PHP environment is well matched. The next step is mysql. Fourth, install mysql and run mysql-3.23.36-win. Just install it directly on the c drive. Copy the my-example file in its directory to the c drive and modify it to my. ②, then directly install DBTools-Manager-1.0.8, you can connect to the mysql database, and can manage, create tables, etc. 5. Install gyxml. Unzip gyxml to d:gyxml, modify the catalina.bat file in the gyxml in directory, and modify the two system variables JAVA_HOME and CATALINA_HOME as: SET CATALINA_HOME=D:GYXml SET JAVA_HOME=d:jdk1.2.2 Start the server : For Windows: Enter the c:gyxml in directory at the DOS prompt, run catalina start, the stop command is: catalina stop; the system will start, the default listening port is 80, after the system starts, you can use IE to access: http://localhost/*/index.xml 6. Install Java API for XML Parsing 1.0.1 to enable Java to support XML 7. Install mm.mysql.jdbc-2.0pre5. tar, which is the driver for Jsp to connect to mysql. Finally, add the line set path=d:jdk1.2.2;%path% to c:AUTOEXEC.bat--------------------------- ---------------------------------- The above software can be downloaded from my homepage: http://www. yw-e.com/down/jakarta-tomcat.zip http://www.yw-e.com/down/php-4.0.0-Win32.zip http://www.yw-e.com/down/ DBTools-Manager-1.0.8.exe http://www.yw-e.com/down/gyxml.zip http://www.yw-e.com/down/Java API for XML Parsing 1.0.1.exe Original author: cccflash

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531844.htmlTechArticleIt is rare to see such comprehensive installation instructions, I believe it will be helpful to everyone. My operating system: Windosws 2000 Pro version Required software: 1. IIS 5.0 2. jdk-1_2_2-win.exe 3. jakarta-tom...
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