Windows 2003 下 PHP、Mysql 、IIS 的环境搭建

Windows 2003 PHP Mysql IIS 的环境搭建
 
Mysql 版本 mysql 5.0.22 -win32
IIS 6
php- 5.2.6 -Win32
 
 
PHP 配置
      php.ini  libmysql.dll libmcrypt.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';

你可能感兴趣的:(mysql,PHP,数据库,IIS,休闲)