diff --git a/Documentation.html b/Documentation.html index 4977cd886..d945f9529 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1743,12 +1743,51 @@ $cfg['TrustedProxies'] =
+chown www-data:www-data tmp +chmod 700 tmp ++ + If you cannot change owner of the directory, you can achieve a similar + setup using ACL: + +
+chmod 700 tmp +setfacl -m "g:www-data:rwx" tmp +setfacl -d -m "g:www-data:rwx" tmp ++ + If neither of above works for you, you can still make the directory +
chmod 777
, but it might impose risk of other users on
+ system reading and writing data in this directory.
+
Since version 2.2.4, phpMyAdmin supports servers with open_basedir - restrictions. Assuming that the restriction allows you to open files in the - current directory ('.'), all you have to do is create a 'tmp' directory - under the phpMyAdmin install directory, with permissions 777 and the same - owner as the owner of your phpMyAdmin directory. The uploaded files will - be moved there, and after execution of your + restrictions. However you need to create temporary directory and + configure it as $cfg['TempDir']. + The uploaded files will be moved there, and after execution of your SQL commands, removed.