1. 安装nginx和php环境
http://blog.csdn.net/kenkao/article/details/53333595
2. 安装mbstring扩展
#
yum install autoconf -y
# cd php-5.4.16/ext/mbstring
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config --with-mbstring=/usr
# make
# make install
打开php.ini添加mbstring.so扩展
3. 下载安装phpMyAdmin并配置
# wget https://files.phpmyadmin.net/phpMyAdmin/4.0.10.20/phpMyAdmin-4.0.10.20-all-languages.zip
# unzip phpMyAdmin-4.0.10.20-all-languages.zip
# mv phpMyAdmin-4.0.10.20-all-languages phpMyAdmin
# cd phpMyAdmin
# cp config.sample.inc.php config.inc.php
# vim config.inc.php
$cfg['Servers'][$i]['host'] = 'yourmysql.com';
$cfg['Servers'][$i]['extension'] = 'mysql'; // 默认是mysqli,如果本地只有mysql也可以
:wq
打开网址输入数据库事先设置好的账号密码即可
posted on 2017-06-22 17:25
思月行云 阅读(203)
评论(0) 编辑 收藏 引用 所属分类:
服务器\Ops