In the experiment, I changed the CPU and reinstalled the system.
Finally, this server has been configured, and the all-around Web server of IIS is used, along with some necessary development and management tools. I don't dare to share it with others. Post it for your reference. The title may not seem eye-catching. I hope the search engine can find it.
I have referenced a lot of online tutorials. I would like to thank you here.
System Environment:
Operating System: Windows Server 2003 Enterprise Edition SP1;
Dedicated IIS server configuration: supports ASP, Asp.net, PHP, and JSP.
Resource Description:
1,In IIS 6.0(Web Server)-win2003 built-in CD
2,PHP(PHP language parser)-Official Site: http://www.php.net
3,MySQL(MySQL database)-Official Site: http://www.mysql.com
4,PhpMyAdmin(Manage MySQL database)-Official Site: http://www.phpmyadmin.net
5,Zend Optimizer(Improve the execution speed of PHP 4.0 applications by optimizing Code)-Official Site: http://www.zend.com
6,JAveDEvelopmentKIt(JDK)(Java environment)
7,J2SeRUntimeERonment(JRE)(Java Virtual Machine)
8,Jakarta-Tomcat(Tomcat-JSP parsing server)
9. Resin-3.0.3 (resin JSP parsing server)
10. Mm. mysql-2.0.4-bin.jar (JSP access to the MySQL file)
List of resources I use:
1,Iis6.0(Win2003)
2,Php-5.1.4-installer.exe(PhP Windows Installation Version)
Php-5.1.4-Win32.zip(Or use a compressed package)
3,Mysql-essential-5.0.22-win32.msi(MySQL database installation files) Of course, you can also install the full version. For details, see the official download instructions.
4,PhpMyAdmin-2.8.0.3.zip
5,ZendOptimizer-2.6.2-Windows-i386.exe(Windows zendoptimizer) If php5.1 and above are installed, this is not required because it has been integrated into PhP5. See Zend official instructions.
6,Jdk-1_5_0_06-windows-i586-p.exe(JDK)
7,Jre-1_5_0_06-windows-i586-p.exe(JRE)
8. apache-tomcat-5.5.16.exe
Installation steps:
Install IIS(~ Skip this step ~)
Install iis6.0. Under "Control Panel" of win2003, "Add/delete programs-Add/delete Windows Components-Application Server-IIS server", insert the win2003 installation CD, and click "Next.
Install and configure the PHP parser
PHP supports CGI and ISAPI installation modes:
CGI consumes more resources and is not reflected due to timeout;
In fact, ISAPI is relatively safe, load-intensive, and resource-saving, but its security is slightly worse than CGI.
---------------------------------------------
Use the installed versionPhp-5.1.4-installer.exeBy default, it is the CGI installation mode.
We recommend that you download the Windows Installation version, because the installation version can save many steps. You can directly select a directory for installation.
First select the installation type, advanced or standard, I installed standard.
Then I packed it under "D:/PHP/PhP5;
Skip this step. Bytes
Select the version of your Web server. This is of course IE 6.0.
After the installation is complete, the system will prompt you to register the JScript. You agree.
-------------------------------------------
After installationConfigure PHP:
Find the "php. ini" file under the system directory, for example, "C:/Windows". "php. ini" is the configuration file of PHP, which can be opened by text editing software. If you want to implement any function, remove the ";" before each item as needed to use it.
In fact, the corresponding instructions are in English in the "php. ini" document. If you are interested, you can take a look. The following describes some common items.
Extension_dir = "D:/PHP/PhP5/EXT/" extended directory location
(A little depressing. The last time I installed version 5.1.2, it went very well, but this time the version 5.1.4 was not extended. I copied the extension of the compressed package version here)
Compressed packagePhp-5.1.2-Win32.zipAnd install it in ISAPI mode.
(Missing)
Install MySQL Database Service
During installation, select Custom installation plugin
Next, change the installation path to "D:/PHP/MySQL/" to facilitate future management. You can also choose a typical or complete installation.
Next, select skip registration "Skip sign up ".
Next, select to configure MySQL server.
Click Finish to go To the Configuration Wizard Page. Click Next and select standard to install idea.
Click Next,
Remember to select the command line mode to facilitate MySQL management in the future. Next, set the password. Remember to make it more complex to ensure security.
Finally, click execute to execute
Install phpMyAdmin
Decompress the phpMyAdmin-2.8.1.zip you downloaded to "D:/PHP/PHPmyAdmin/", of course you can also customize the place to facilitate management.
Open your IIS, create a website, or create a virtual directory under an existing website, pointing to the "D:/PHP/PHPmyAdmin/" directory.
(What? You won't create a virtual directory. Excuse me)
Remember to set the permission token
Then open your browser and enter "http: // your url/PHPmyAdmin/", such as "http://www.marktip.com/phpmyadmin /".
Here, you will be prompted for an installation error because you have not set it, and you cannot improve the management interface. Let's set it below:
In your installation directory, find the config. Default. php file under the "Libraries" folder in "D:/PHP/PHPmyAdmin/", and open and edit the following items:
Find $ cfg ['pmaabsoluteuri '] = '';
(This option is used to set your local path)
For example, my: $ cfg ['pmaabsoluteuri '] = 'HTTP: // www.umake.cn/phpmyadmin /';
You can encloseHttp://www.umake.cn/phpmyadmin/Change to your own address.
Find $ cfg ['blowfish _ secret'] =
(Set the cookie encryption key)
For example, my: $ cfg ['blowfish _ secret'] = 'marktip. com ';
PlaceMarktip.comChange to your own password.
Find $ cfg ['servers'] [$ I] ['auth _ type'] = 'config'
(Select the authentication method to go to management. There are three options.Config,Cookie,HTTP)
If you select Config, you need to set the following two items:
$ Cfg ['servers'] [$ I] ['user'] = 'root'; // log on to the MySQL user name
$ Cfg ['servers'] [$ I] ['Password'] = ''; // password for logging on to MySQL (required only when the verification type is config ).
We recommend that you set auth_type to Cookie.
Language and character encoding settings:
Find $ cfg ['defaultlang '] and set it to zh-gb2312
Find $ cfg ['defaultconnectioncollation'] and change it to gbk_unicode_ci.
Find $ cfg ['defaultcharset'] and set it to GBK
After saving the changes, enter the phpMyAdmin URL in the IE address bar to go To the logon page.
Install JDK