Configuration integration WinApachePHPMySQLTcomcat (or Resin) full manual

Source: Internet
Author: User
System request: hardware can run the control system to Win2K, WinXP or Win2003 control system preparation: required software list: (the configuration of the following software versions completed) 1, APACHE_2.0.47-win32-x86-no_ssl (Apacheweb server) 2. PHP-4.3.3-W

System request:
The hardware can run the control system.
Win2K, WinXP, or Win2003 control system

Preparations:
List of required software: (this configuration includes the following software versions)
1. APACHE_2.0.47-win32-x86-no_ssl (Apache web server)
2. PHP-4.3.3-Win32 (PHP parser)
3. MySQL-4.0.12-win (MySQL database)
4. j2sdk-1_4_2-windows-i586 (JAVA environment)
5. Jakarta-Tomcat-5.0.9 (Tomcat JSP parsing server)
6. Resin-3.0.3 (Resin JSP parsing server)
7. mod_jk_1.2.5_2.0.47.dll (integrating Apache Tomcat plus)
8. mm. mysql-2.0.4-bin.jar (JSP visit MySQL file)

Start Installation:

I. Apahce PHP MySQL installation and configuration

1. install the APACHE_2.0.47-win32-x86-no_ssl, the default installation path of the program is: C: \ apache2 \ program files \ apache Group \, you need to correct its installation path to: C :\
(You can also do not modify it. it is important to modify the configuration for convenience ).
2. after the installation is complete, the apache service automatically loads the file. open the browser and browse: http: // localhost to display the apache welcome page (in this step, change the file "index.html.en.pdf" in the C: \ apache2 \ htdocsdirectory to "index.html ", in this step, check the installation source file and reinstall it.
3. install the PHP-4.3.3-Win32, the PHP file downloaded in general is a free installation of compressed package, unzip to C: \ PHP can be.
4. configure PHP and Apache to parse the php program.
PHP configuration: set "PHP." in the C: \ php \ directory. ini-dist "is renamed" php. ini, and copy it to C: \ windows \ system32 (the Win2K directory is C: \ winnt \ system32)
Apache configuration:
C: \ apahce2 \ conf \ httpd. conf


Httpd. conf
D. add the following statement at the end of the configuration file to support the php program:

ScriptAlias/php/'C:/PHP /'
AddType application/x-httpd-php. php3
AddType application/x-httpd-php. php
AddType application/x-httpd-php. phtml
Action application/x-httpd-php'/php/php.exe'

5. restart the Apache server and use the editor to write the following statement:
Phpinfo ();
?>

The file name is retained as "test. php "to the C: \ apache2 \ htdocs directory, then open the browser, browse: http: // localhost/test. php, indicating that the configuration is successful when the basic PHP information is displayed. The installation and configuration will be successful once according to the preceding instructions.
6. install the MySQL-4.0.12-win, always Press "next" to install successfully, and then in the C: \ mysql \ bin directory to perform "winmysqladmin.exe", showing the initial information of mysql, the performance of the installation successful.
7. PHP has skipped MySQL connection. Generally, there is no title.

Now you can take a break and prepare for the following long process ......

II. install JDK and Tomcat
1. install j2sdk-1_4_2-windows-i586, JDK must be installed before Tomcat and Resin, the default installation path can be.
2. install Jakarta-Tomcat-5.0.9, the default installation path is OK.
3. copy the mm. mysql-2.0.4-bin.jar file to distinguish C: \ j2sdk1.4.2 \ lib and C: \ Tomcat 5.0 \ common \ lib
4. set the environment variables (desktop> My Computer> right-click and choose Properties> Advanced> environment variables). all the settings are in the system variables bar.

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.