my sistem 22.04 ubuntu + 3.2.9. everything was perfect, faster and full of new details ( a lot of version of php, last version of aql, phpmyadmin and more) but i find problem with phpmyadmin "El $cfg['TempDir'] (/var/lib/phpmyadmin/tmp) es inaccesible. phpMyAdmin es incapaz de almacenar plantillas y será algo lento debido a esto" not accesible, cannot store profiles and work slowi check and i find that tmp was misssing, a create it but the problem persist, i suppose is a matter of privilegies i search for options in internet and i find chown -R apache:apache /usb/share/phpmyadmin/tmp chmod -R 0777 /usb/share/phpmyadmin/tmpbut first command apache is not valid user what do i need to do? tx in adance
The user in the commands is wrong and the path is wrong as well and the chmod should also not be 777. Did you install the system with apache or nginx user?
I've just made a test install with the auto-installer, Ubuntu 22.04 with apache. There are no temp dir issues in phpmyadmin on such a system. The permissions of the tmp directory are: chown www-data:www-data /var/lib/phpmyadmin/tmp chmod 0755 /var/lib/phpmyadmin/tmp
i apply this commands and i still receive same error "El $cfg['TempDir'] (/var/lib/phpmyadmin/tmp) es inaccesible. phpMyAdmin es incapaz de almacenar plantillas y será algo lento debido a esto. "
i take a view : folder tmp exist i can open and create files and folder inside ( but only like my superuser)
How do you access phpmyadmin? It is normally accessed on apps vhost. E.g.: https://server1.example.com:8081/phpmyadmin you can also try to run: chmod 0775 /var/lib/phpmyadmin/tmp
ussualy i use: https://server1.example.com/phpmyadmin the other option isnt working to me my ports 8080 and 8081 are block form isp, i redirect other port for 8080, i need to do the same we 8081?
i add 8081 rediret and i get the same error chmod 0775 /var/lib/phpmyadmin/tmp i try after you fost suggest, no success
till, i use "root" ( sql user) user ( now i make massive moving and is more confortable), maybe is the responsabile?
No, the SQL user does not matter in this case. Try this: chown www-data:www-data /var/lib/phpmyadmin chmod 0775 /var/lib/phpmyadmin
may be this help ypu root@$$$$$:/var/lib/phpmyadmin# ls -l total 4 drwxr-xr-x 4 www-data www-data 4096 Nov 28 12:03 tmp root@$$$$$/var/lib/phpmyadmin# cd tmp root@$$$$$:/var/lib/phpmyadmin/tmp# ls -l total 8 drwxr-xr-x 2 root root 4096 Nov 28 12:03 prueba drwxr-x--- 34 ispapps www-data 4096 Nov 26 21:42 twig i create prueba , no twig you need to know, i relocate $cfg['UploadDir'] = '/var/lib/phpmyadmin/tmp'; $cfg['SaveDir'] = '/var/lib/phpmyadmin/tmp';and i leave in original location $cfg['TempDir'] = '/var/lib/phpmyadmin/tmp';in /usr/share/phpmyadmin/config.inc.php (not now, before to open this thread) i won t make more changes and i create perfect server on this saturday. only i use it for transfer data