Windows 2003 PHPMysql IIS 的环境搭建
 
Mysql 版本 mysql 5.0.22 -win32
IIS 6
php- 5.2.6 -Win32
 
 
PHP 配置
      php.ini  libmysql.dlllibmcrypt.dll 复制到C\windows
php.ini的配置:
extension_dir=”c:\php5\ext”
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
 
;session.save_path = "/tmp"
session.save_path = "d:/phpsession"
 
 
; Initialize session on request startup.
session.auto_start = 1
 
IIS配置
IIS中添加对.php文件的ISAPI扩展
phpmyadmin 配置
php.config.ini 配置:
 
$cfg['blowfish_secret'] = '123456'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
 
 
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';