The authentication logging is now configurable and can be set to log
into file.
Hopefully this will prevent DirectAdmin guys producing patches which
generate tons of warnings.
Fixes#13391
Signed-off-by: Michal Čihař <michal@cihar.com>
Share one directory for Twig cache, SHP import and file uploads.
The code now also validates the cache directory and creates it on the
fly, so it properly detects if the directory can not be used.
Also the documentation has been improved to document securing this
directory.
Fixes#13225Fixes#13226
Signed-off-by: Michal Čihař <michal@cihar.com>
This is getting more and more problematic these days as most of Linux
distributions ship MariaDB libraries, while many people run MySQL
servers. As MariaDB claims the protocol compatibility should stay, we
should not warn in this case.
Of course there is option to add this exception to the warning (so far
the exception is there only other way - when using MySQL libraries to
connect to MariaDB server), but we would be ignoring most cases already
and I think complete removal is better than adding exceptions.
Overall I don't think this warning is doing any good these days.
Signed-off-by: Michal Čihař <michal@cihar.com>
It is really not necessary as MySQL decides connection type rather based
on hostname than on anything else.
Signed-off-by: Michal Čihař <michal@cihar.com>
* the user set collation is now honored
* default value has been changed to utf8mb4
* it is downgraded to utf8 if server does not support it
Fixes#12826
Signed-off-by: Michal Čihař <michal@cihar.com>
Fix#12162
Add an option to add a Column on Database structure page which shows the charset of each table/view
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This is really more a PHP debugging feature than anything related to
phpMyAdmin. If user wants to debug, it's as simple a creating file with
one line of php code.
Signed-off-by: Michal Čihař <michal@cihar.com>
In most setups we simply do not have enough information to decide
whether user has come through HTTPS or not leading to infinite
redirects.
Anyway this is better to handle at web server side together with setting
HSTS headers.
Issue #11412, #11883
Signed-off-by: Michal Čihař <michal@cihar.com>
MySQL 5.6 or later requests peer_name validation of the SSL. This causes most self signed certificates to fail validation.
In PMA, you only get a vague 2002 connection error as a result.
As of PHP 5.6.16, a new flag exists to disable the check and allows the
connection to proceed.
See https://bugs.php.net/bug.php?id=68344 and #11838
Signed-off-by: Joel Hutchinson joel.hutchinson@onlinecommercegroup.com