I-dont-know-
I-dont-know-

Reputation: 79

Laragon fatal error when accessing localhost/phpmyadmin/

I have a freshly installed laragon and its giving me error when I'm accessing localhost/phpmyadmin/ how do I fix it?

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

Upvotes: 6

Views: 5059

Answers (1)

Adeel Hashmi
Adeel Hashmi

Reputation: 93

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.

Upvotes: 9

Related Questions