In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "introduction to the installation and configuration of windows 2003 iis+php5+mysql+phpmyadmin". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "introduction to the installation and configuration of windows 2003 iis+php5+mysql+phpmyadmin".
Detailed installation steps for windows 2003 iis+php5+mysql+phpmyadmin
Support asp.net php mysql gmail 1, install iis, not to mention, pay attention to the installation is to pay attention to select asp.net 2, the next is to install php Find a place to download the source code package of the next php5, such as http://www.phpchina.com/manual/php/php-5.2.0-Win32.zip, and decompress it to the c:\ php\ directory (created by the php directory itself) 1, import those two registration files into 2, and then copy the file with the extension Cai .dll to c:\ WINDOWS\ (you can choose as needed) 3, Copy all the extension .dll under ext to c:\ WINDOWS\ system32\ (you can choose as needed) 4. The main points in modifying php.ini are as follows: use the lookup function
Search
Register_globals = Off
Change off to on
Search
Extension_dir =
Change to
Extension_dir = "d:\ php\ ext" (the "d:\ php\ ext" directory here is ext under the PHP installation directory. If you install PHP under c:\ php, it should be written as extension_dir = "c:\ php\ ext")
Search
; upload_tmp_dir =
Change to
Upload_tmp_dir = d:\ php\ upload_tmp (the upload_tmp directory here is created by yourself. There is no such folder by default. Try not to use special characters.)
Search
Windows Extensions
Remove the front of some common functions, that is, enable the corresponding module functions
Here I enable the corresponding module.
Extension=php_mbstring.dll
Extension=php_curl.dll
Extension=php_dbase.dll
Extension=php_gd2.dll
Extension=php_ldap.dll
Extension=php_mysql.dll
There will be a detailed description of the function of the module later.
Search
; session.save_path = "/ tmp"
Change to
Session.save_path = "d:\ php\ tmp" (the tmp directory here is created by yourself. There is no such folder by default. Try not to use special characters. 5. Configure IIS to support PHP:
Expand the IIS directory tree
Right-click "website"-select "Properties"-select "Home Directory"-select "configuration"-select "Application Mapping" option-"add" button to add an extension mapping, click "Browse" in the pop-up window to point the executable file to the location of php5isapi.dll.
An example of this article is: C:\ php\ php5isapi.dll
The extension is .php, the action is limited to "GET,HEAD,POST,TRACE", set "script engine"confirm the existence of the file" select click "WEB Server extension" to add an ISAPI extension to allow
The extension is PHP "add"-the example of this article is: C:\ php\ php5isapi.dll
And check expand to allow
After the above operations are completed, you need to restart IIS before the PHP environment can take effect.
After the restart is completed, test whether PHP is running properly.
Create a text file and save it as 123.php
Content:
If the running information can be displayed normally, the running environment of PHP has been configured.
Third, install Zend 2.6x or above
The instance uses ZendOptimizer-3.0.1 (download to get: ZendOptimizer-3.0.1-Windows-i386.exe file, double-click to install)
For the installation steps, please see the operation. Here my installation path is c:\ zend.
Zend automatically configures php.ini to enable the zend module during installation. After installation, you can see that the php.ini file is finally written:
[Zend]
Zend_extension_manager.optimizer_ts= "c:\ Zend\ lib\ Optimizer-3.0.1"
Zend_extension_ts= "c:\ Zend\ lib\ ZendExtensionManager.dll" (install similar software or similar software to the same directory, which is also easier to manage) [Zend]
Zend_optimizer.optimization_level=1023
Zend_optimizer.encoder_loader=0
Zend_extension_ts= "C:Program FilesZendlibZendOptimizer.dll" now let me introduce the meaning of the configuration file above:
Zend_optimizer.optimization_level / / the degree of optimization, which defines how many optimization processes are started.
Zend_optimizer.encoder_loader / / whether to allow processing of PHP files encrypted by Zend Encoder.
The directory where the zend_extension_ts / / optimizer is located.
Fourth, install the GD library
Just get rid of the one in front of php.ini; extension=php_gd2.dll.
5. Install MYSQL
Installation is relatively simple, the next step is to ok the installation of phpmyadmin
After decompressing it, you can get a phpMyAdmin directory (you can rename it). Find the config.inc.php file in the directory and open it.
Find $cfg ['PmaAbsoluteUri']
Modify the phpMyAdmin URL that you will upload to the space
For example, $cfg ['PmaAbsoluteUri'] =' http://qshy.cublog.com/phpmyadmin/'; and the following
$cfg ['Servers'] [$I] [' host'] = 'localhost'; (usually by default, with exceptions) $cfg [' Servers'] [$I] ['auth_type'] =' config'; / / Authentication method (config, http or cookie based)?
Debug config in your own machine, if you use cookie on the Internet. $cfg ['Servers'] [$I] [' user'] = 'root'; / / MySQL user (user name, use root on your computer, set up your ftp user name on the Internet)
$cfg ['Servers'] [$I] [' password'] =''; / / MySQL password (only needed
You don't need to set $cfg ['Servers'] [$I] [' only_db'] =''; / / If set to a db-name, only (if you only have one data, set it) and set it.
$cfg ['DefaultLang'] =' zh'; this looks like it must be set.
$cfg ['blowfish_secret'] =''/ / verify the string (just write it and don't leave it blank)
After setting up, you can upload it to the Internet. Browse http://qshy.cublog.cn/ of course you can use that URL if you set it up differently.
If cookie is set, there will be the following login window on it
Thank you for reading, the above is the "introduction to the installation and configuration of windows 2003 iis+php5+mysql+phpmyadmin", after the study of this article, I believe you have a deeper understanding of the introduction of the installation and configuration of windows 2003 iis+php5+mysql+phpmyadmin, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.