Articles of phpmyadmin

“拒绝所有”不工作

我在httpd.conf上进行了如下configuration。 但是,任何IP仍然可以访问PHPMyAdmin的URL /别名。 我错过了什么? 这与“别名”指令有关吗? Alias /phpmyadmin /usr/share/phpmyadmin Alias /phpMyAdmin /usr/share/phpmyadmin Alias /mysqladmin /usr/share/phpmyadmin <Directory "/usr/share/phpmyadmin"> AllowOverride none Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>

apache2上的phpmyadmin重载:未知Authz提供程序:有效用户错误

在ubuntu 14.04上aster标准安装phpmyadmin我发现<site>/phpmyadmin不起作用。 谷歌search后,我发现这可以解决与添加这一行Include "/etc/apache2/conf-enabled/*.conf" .. /etc/apache2/apache2.confconfiguration文件。 但在Apache重新加载后,我得到这个错误信息 * Reloading web server apache2 * * The apache2 configtest failed. Not doing anything. Output of config test was: AH00526: Syntax error on line 30 of /etc/apache2/conf-enabled/phpmyadmin.conf: Unknown Authz provider: valid-user Action 'configtest' failed. The Apache error log may have more information. 我怎样才能修复错误,并使phpmyadmin工作?

为什么nginx在表单提交后redirect?

我有conf: location ~ ^/secret(.+) { rewrite ^/secret(.+)$ /phpmyadmin$1; } location /phpmyadmin { root /usr/share/; index index.php index.html index.htm; auth_basic "Auth"; auth_basic_user_file /etc/nginx/pass/.pma; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; include sites-available/common/php; } internal; } 提交login表单phpmyadmin后,我已被redirect到mysite.com/phpmyadmin/index.php?token=…而不是mysite.com/secret/index.php?token… 为什么这样做?

PHPMYADMIN多服务器安装问题 – 服务器select从不显示

我在我的Ubuntu-14.04 LTS服务器上安装了phpmyadmin。 我想通过我的VPCpipe理不同服务器(所有Ubuntu)中的其他MySQL数据库。 我使用AWS安全策略启用了对服务器的访问,并通过networking和Internet打开了端口3306。 此外,我在phpmyadminconfiguration文件中为多服务器设置添加了以下条目。 configuration-inc.php == $ cfg ['Servers'] [$ i] ['verbose'] ='服务器-2'; // $ cfg ['Servers'] [$ i] ['host'] ='xxx.xxx.xxx.xxx'; $ cfg ['Servers'] [$ i] ['host'] ='server2.xxxxx.com'; $ cfg ['Servers'] [$ i] ['port'] ='3306'; $ cfg ['Servers'] [$ i] ['connect_type'] ='tcp'; $ cfg ['Servers'] [$ i] ['extension'] ='mysqli'; $ cfg ['Servers'] [$ i] […]

Centos – PhpMyAdmin试图访问时显示空白屏幕

我刚刚安装了PhpMyAdmin,当我尝试访问它只是显示一个空白的屏幕。 我怀疑这是因为我跟着如何安全的PHP教程,所以我重新安装PHP来重置php.ini文件,但是这并没有解决这个问题…现在我想也许是因为suhosin PHP安全模式,或者我缺less一个php模块。 我的PHP信息可以在这里访问:http: //87.92.41.2/phpinfo.php

PHPmyadmin即使在input密码的情况下也无法通过configuration进行密码login

基本上都是标题。 我做了一个干净安装的CentOS7.2(需要运行ARK的CentOS7)。 我做了一个LAMP服务器,它正在testing,然后我安装PHPmyadmin。 每当我尝试在网站上login,我都会遇到错误,即使在尝试root的时候在域中input密码,也会通过configuration(请参阅AllowNoPassword)禁止无密码login。 我甚至可以尝试进入一些垃圾用户,并通过它,让我无法login到MySQL服务器。 正当我试图进入根和通过。 任何人有任何可能出现错误的提示? 当我在CentOS6.6上做这个时,我可以很好的得到,但是我需要更新的gblibc和gcc,它们在7(我可以尝试尝试修复6.6,如果必须的话)。

phpMyAdmin reCaptcha错误allow_url_fopen = 0

我有phpMyAdmin在Nginx上运行。 我还启用了reCaptcha $cfg['CaptchaLoginPublicKey'] = 'secretkey'和$cfg['CaptchaLoginPrivateKey'] = secretkey' 。 我将上面添加到config.inc.php 。 正如你在下面看到的,我已经启用了reCaptcha。 密钥也正确input。 但是当我login时,我得到以下错误: inputvalidation码错误,请重试! ./libraries/plugins/auth/recaptcha/ReCaptcha/RequestMethod/Post.php#68 file_get_contents()中的警告:https:// wrapper在服务器configuration中被禁用,allow_url_fopen = 0 我确定我input了相关validation码。 根据这个Bug报告,这个问题将在下一个版本中解决。 我正在使用最新的PHPMyAdmin 版本4.6.2与PHP7.0。 在我的php.ini中, allow_url_fopen = off 。 任何机构知道这是一个解决方法? 谢谢。 更新:如果allow_url_fopen = On,问题是固定的。 但是,有没有解决上述错误,因为我想将其设置为closures,出于安全原因。

由于403,无法启动Adminer

我有一台服务器运行在BBQLinux最新的稳定版本,安装了四天前几乎没有其他的安装或configuration。 我跟着官方指南安装了Adminer,不pipe我做什么,在试图访问它的时候,我总是收到403 。 configuration如下: UNAME Linux cpu 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux /usr/share/webapps/adminer是644及其父目录744 没有其他的 index.html或index.php httpd.conf文件 … DocumentRoot "/srv/http" <Directory "/srv/http"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> Include conf/extra/httpd-adminer.conf … 的httpd-adminer.conf Alias /adminer "/usr/share/webapps/adminer" <Directory "/usr/share/webapps/adminer"> AllowOverride All Options FollowSymlinks Order allow,deny Require all granted […]

phpmyadmin + redis会话保存兼容性?

我在phpmyadmin + redis php会话caching中遇到了一个奇怪的行为。 这里是我的php-fpm池configuration: php_value[session.save_handler] = redis php_value[session.save_path] = "tcp://127.0.0.1:6379" 这个configuration适用于一个简单的PHP脚本: <?php //simple counter to test sessions. should increment on each page reload. session_start(); $count = isset($_SESSION['count']) ? $_SESSION['count'] : 1; echo $count; echo "<br>"; $_SESSION['count'] = ++$count; $username = $_SESSION['username']; if(isset($_SESSION['logged']) && $_SESSION['logged']=='yes') { echo "$username"; } $_SESSION['username']='Teddy'; $_SESSION['logged']='yes'; ?> 我看到增量和泰迪信息。 但是,当我尝试通过“ http:// […]

phpMyAdmin端口需要改变

对不起,这个问题之前必须得到答复,但没有解决我的问题。 我现在正处于瘫痪状态。 我在Django开发了一个网站,我想在端口80上运行,而我想在其他一些端口上运行phpMyAdmin,比如说8181。 我的第一个问题是,如果甚至可以更改phpMyAdmin的端口? 如果是的话,我需要更改哪个文件? /etc/phpMyAdmin/config.inc.php或/etc/httpd/conf.d/phpMyAdmin.conf或/etc/httpd/conf/httpd.conf ? 你的回应会帮助我前进很多。