昨天在本地還原數(shù)據(jù)庫(kù)的時(shí)候用到了帝國(guó)備份王,在phpStudy運(yùn)行的時(shí)候卻報(bào)錯(cuò)了,郁悶啊。錯(cuò)誤提示如下:
Parse error: syntax error, unexpected end of file in D:/www/diguobeifenwang/class/functions.php on line 1438
有問(wèn)題就需要想辦法解決,下面是361源碼給出的解決方法,希望對(duì)有同樣問(wèn)題的朋友有所幫助:
PS:不會(huì)使用帝國(guó)備份王還原數(shù)據(jù)的同學(xué)可以參考《帝國(guó)備份王還原mysql數(shù)據(jù)庫(kù)圖文教程》。
1、點(diǎn)擊phpStudy界面中的“其他選項(xiàng)菜單”

2、“打開(kāi)配置文件”,然后點(diǎn)擊右側(cè)的“php.ini”

3、在 php.ini 中搜索“ short_open_tag ”找到“ short_open_tag = off ”將 off 修改為 on


4、最后重啟一下phpStudy

重新啟動(dòng)后報(bào)錯(cuò)沒(méi)有了,OK,完成。
新聞熱點(diǎn)
疑難解答
圖片精選