Error in phpMyAdmin after updating to v4.8.0: The $cfg['TempDir'] (./tmp/) is not accessible

前端 未结 20 2397
别跟我提以往
别跟我提以往 2021-01-30 12:50

phpMyAdmin worked fine with v4.7.9. Now after updating to v4.8.0 today (replacing the old phpmyadmin folder against the new one) I\'m getting this mess

20条回答
  •  闹比i
    闹比i (楼主)
    2021-01-30 12:59

    For me phpmyadmin dir was found inside /opt/lampp/

    1. open teminal inside /opt/lampp/phpmyadmin/
    2. give root privileges to the terminal by typing sudo su command.
    3. now in same terminal use (mkdir -p /tmp/) hit enter
    4. now, chmod 777 /tmp
    5. Inside phpmyadmin directory there is a file config.inc.php. Open it using same terminal .
    6. add this line $cfg['TempDir'] = /tmp; and Save.
    7. Now you are good to go , just reload the tab and the error will be gone.

提交回复
热议问题