很多人修改的應該是php下面的php.ini,要注意也把服務器(apache\bin)下面的php.ini里面的variables_order = "EGPCS",修改一下哦,這樣就可以了!
2017-11-03
沒顯示出來的,打開php.ini,找到這樣幾行代碼:
; variables_order
;Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
然后,將;Default Value: "EGPCS"前面的分號去掉,整個配置變成:
; variables_order
Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
然后重啟Apache就可以了。
; variables_order
;Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
然后,將;Default Value: "EGPCS"前面的分號去掉,整個配置變成:
; variables_order
Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
然后重啟Apache就可以了。
2017-11-03
配置database 返回的為數組形式 不是PHP_DATABASE_HOSTNAME=root,而是
["PHP_DATABASE"] => array(3) {
["postname"] => string(9) "loclahost"
["usname"] => string(4) "root"
["password"] => string(6) "123456"
}
格式,應該是我的版本更新了
["PHP_DATABASE"] => array(3) {
["postname"] => string(9) "loclahost"
["usname"] => string(4) "root"
["password"] => string(6) "123456"
}
格式,應該是我的版本更新了
2017-11-02
用phpstudy中的其他選項菜單中的PHP Composer 安裝不了,下了個composer.phar(下的真慢,還老斷線)自己手動搭建composer,才成功;
2017-10-29