MySQL-essential-5.0.45-win32.msiphp-5.2.4-Win32.zipZendOptimizer-3.3.0-Windows-i386.exehttps://127.0.0.1 見歡迎頁
X:\Web\MySQL)GBK(或 UTF-8)mysql -u root -p 進入控制台

net stop MySQL
# 修改 my.ini: datadir="X:\Database"
# 複製 data 目錄到 X:\Database
net start MySQL
# 複製 libmysql.dll 到 C:\Windows\System32
X:\Web\PHP,php.ini-dist 改名 php.iniextension_dir = "X:\Web\PHP\ext"php_mbstring.dll, php_gd2.dll, php_mysql.dlldisable_functions = phpinfo,passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,passthru,stream_socket_serverphp.ini 到 C:\Windows.php → X:\Web\PHP\php5isapi.dll,動作 GET,POSTindex.phpphp5isapi.dll,設為允許






執行安裝程式,指定 php.ini 路徑,完成後重啟 IIS。
網站根目錄建立 phpinfo.php,確認 PHP、MySQL、ZendOptimizer 皆正常載入。