简体   繁体   中英

Laragon fatal error when accessing localhost/phpmyadmin/

我有一个新安装的 laragon,当我访问 localhost/phpmyadmin/ 时它给了我错误我该如何解决?

Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\laragon\etc\apps\phpMyAdmin\libraries\classes\DatabaseInterface.php on line 615

Solution (worked for me):

  1. delete all files in phpMyAdmin folder located in {INSTILLATION_PATH }\\laragon\\etc\\apps

  2. Download phpMyAdmin from https://www.phpmyadmin.net/downloads/

  3. Extract the downloaded compressed file content in phpMyAdmin folder, directory: {INSTILLATION_PATH }\\laragon\\etc\\apps\\phpMyAdmin

  4. Restart laragon and you are good to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM