Joke Collection Website - Blessing messages - Urgent need to help configure PHP+MYSQL+IIS environment, reward.
Urgent need to help configure PHP+MYSQL+IIS environment, reward.
Generally, WIN hosts recommend PHP environment combination: PHP4.4.x+MySQL4.0.x, so the PHP4.4.x+MySQL4.0.x combination installed below is displayed in blue text. If you only need to install the combination of PHP4.4.x+MySQL4.0.x, you only need to look at the relevant content of blue text.
Of course, people who like to experience or WIN2003 system can also try the latest version. It is recommended to combine PHP 5.1.x+MySQL 5.0.x/MySQL 4.1.x.
A, software preparation:
1.PHP, recommended ZIP decompression version of PHP4.4.0:
PHP(4.4.0
[Optional]:
PHP(5. 1.2)
2.MySQL, with PHP4, recommended the WIN system installation version of MySQL4.0.26:
MySQL(4.0.26)
[Optional]:
MySQL(4. 1. 16)
MySQL(5.0. 18)
3.Zend Optimizer certainly chose the latest version:
Zend optimizer (2.6.2)
4. Of course, phpmyadmin chooses the latest version. Note that the version is Windows:
phpMyAdmin(2.7.0)
The download address of the above software package is /phpadmin/. Don't be so rigid. If you don't visit this computer, you should also set the URL of localhost/xxx. Please don't contact me again to solve any errors caused by your own flexible settings.
search
$cfg["blowfish_secret"] =
Set the encryption key of COOKIES, such as $ CFG ["blowfish _ secret"] = "syku.net" as syku.net.
Search $ CFG ["servers"] [$ i] ["auth _ type"], the default is config, which is unsafe and not recommended. Cookies are recommended and set to $ CFG ["servers"] [$ i] ["auth _ type"] = "cookie";
Note, if it is set to config here, please set the user name and password below! For example:
$ CFG[" Servers "][$ I][" user "]= " root "; //MySQL user -MySQL connection user
$ CFG[" Servers "][$ I][" password "]= " xqin . com ";
Search $cfg["DefaultLang"] is set to zh-GB 2312;
Search for $ CFG ["DefaultConnectionCollection"] (if it exists) and change its setting to gbk_unicode_ci, such as $ CFG ["DefaultConnectionCollection"] = "GBK _ Unicode _ CI";
Search for $cfg["DefaultCharset"] and set it to gbk.
Open a browser and enter: (If no password is set, the password is empty) to enter the phpMyAdmin database management.
First, click permissions to enter user management, delete users other than ROOT and users whose hosts are not localhost, and re-read the user permissions table. Here, you can also modify and set the password of ROOT and add other users.
Please be familiar with the specific functions of phpMyAdmin, so I won't go into details here.
At this point, all installations have been completed.
Directory structure and permission setting of secure directory in MTFS format of intransitive verb;
The current directory structure is
D:php
|
+—————+——————+———————+———————+
PHP 4(PHP 5)tmp MySQL Zend phpMyAdmin
D:php can be set as administrator and system, with full permissions, and other users have no permissions.
For the secondary directory under it
Php4 (or php5) and tmp give everyone complete rights.
Full permissions for MySQL, Zend administrator and system.
PhpMyAdminWEB anonymous user read run permission
- Related articles
- Where is the interception of SMS in vivo released?
- What are the famous poems and sentences about Lantern Festival?
- Winter vacation time of primary and secondary schools in Shenzhen
- An insider of Xi's family riot said that his wife also beat her husband. Is it a domestic violence or a fight?
- How do couples keep fresh?
- Advantages of Windows Phone 8
- Taobao praised 50 cashback comments.
- 20 1 1 New Year greetings on the first day of the Year of the Rabbit, text messages on the second day of the Year of the Rabbit, and text messages on the fourth day of the third day of the Year of the
- How to write a New Year message about birthday drinking?
- How to open the Shanghai Electricity Invoice after the application is made by the tax bureau or SMS?