《MYSQL數(shù)據(jù)庫服務(wù)器不支持 MySql 數(shù)據(jù)庫的解決方法》要點(diǎn):
本文介紹了MYSQL數(shù)據(jù)庫服務(wù)器不支持 MySql 數(shù)據(jù)庫的解決方法,希望對(duì)您有用。如果有疑問,可以聯(lián)系我們。
MYSQL入門php.ini文件沒有參數(shù)沒有配置正確
MYSQL入門解決方法:
MYSQL入門(1) 打開php.ini文件,找到:
MYSQL入門extension_dir = "./"
MYSQL入門將其改為;
MYSQL入門extension_dir = "X:\PHP\ext"(php擴(kuò)展程序目錄)
MYSQL入門(2) 找到:Windows Extensions,去掉模塊配置每行前面的;號(hào)即可
MYSQL入門extension=php_mbstring.dll
MYSQL入門extension=php_gd2.dll
MYSQL入門extension=php_mysql.dll
MYSQL入門(3) 找到:
MYSQL入門disable_functions =
MYSQL入門改為:
MYSQL入門disable_functions =
MYSQL入門passthru,exec,system,popen,chroot,escapeshellcmd,escapeshellarg,shell_exec,proc_open,proc_get_status
MYSQL入門(4)系統(tǒng)環(huán)境變量(rabbit8.cn大神原創(chuàng))
MYSQL入門添加系統(tǒng)環(huán)境變量,變量名:PHPRC??? 變量值:c:\php? (php目錄)
MYSQL入門?
MYSQL入門保存php.ini文件,并將其復(fù)制到C:\Windows\
MYSQL入門注:如果在第一次配置過程中,php.ini參數(shù)出現(xiàn)錯(cuò)誤,雖然直接修改C:\Windows\php.ini的參數(shù),但是無法立馬生效.那么還需要重啟IIS來使用新的參數(shù)生效!
轉(zhuǎn)載請(qǐng)注明本頁網(wǎng)址:
http://www.fzlkiss.com/jiaocheng/4001.html