Phpmyadmin error $cfg['TempDir'] (/tmp)



phpmyadmin 4.9.5deb2
ubuntu 20.04.3
error phpmyadmin - $cfg['TempDir'] (/tmp) can't store...

i tried everything...
sudo nano /etc/phpmyadmin/
on UploadDir
i add - $cfg['TempDir'] = '/tmp';

i 777 the tmp folder, 755 , 775, reboot, restart service, edit vendor config

for 3 hours i try everthing on the web. nothing works..the folder exists, and have permission

PLEASE HELP ME with some advice on what to do to make the error dissapear (i make another droplet with same steps, and that error is not presend). i don't understand what is the problem with this server
  1. Confirm the correct configuration file
  2. Verify PHP session directory permissions commands: sudo chown -R www-data:www-data /var/lib/php/sessions
    sudo chmod 770 /var/lib/php/sessions
  3. Check for SELinux or AppArmor
  4. Restart services
  5. disVerifyk space You can check the available disk space with the command: df -h