Reputation: 79
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
Reputation: 93
Solution (worked for me):
delete all files in phpMyAdmin folder located in {INSTILLATION_PATH }\laragon\etc\apps
Download phpMyAdmin from https://www.phpmyadmin.net/downloads/
Extract the downloaded compressed file content in phpMyAdmin folder, directory: {INSTILLATION_PATH }\laragon\etc\apps\phpMyAdmin
Restart laragon and you are good to go.
Upvotes: 9