-
安装phpMyadmin3.1.1
Posted on 十二月 20th, 2008 1 commentwget http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-3.1.1-all-languages.tar.gz?download
tar -xvzf phpMyAdmin-3.1.1-all-languages.tar.gz
cp phpMyAdmin-3.1.1-all-languages /app/public/data/pma311
cp config.sample.inc.php config.inc.phpvi config.inc.php找到 blowfish_secret, 设置加密秘钥. 然后可以直接设定$cfg['Servers'][$i]['controluser'] ,$cfg['Servers'][$i]['controlpass'] ;也可以由第一次登陆后由phpMyadmin自动设置。
在webserver中为pma目录建立密码
htpasswd -c /usr/local/nginx/conf/.htpasswd nginx
输入两遍密码后创建密码文件.htpasswd,然后在nginx的server中增加如下两行
auth_basic ‘Restricted’;
auth_basic_user_file .htpasswd;One response to “安装phpMyadmin3.1.1”
-
网站建设 三月 17th, 2010 20:54
main.php: Missing parameter: is_superuser很难搞!
Leave a reply
-

