安裝環(huán)境:LANMP 1. 下載phpMyAdmin-3.3.7 wget http://sourceforge.net/projects/phpmyadmin/files%2FphpMyAdmin%2F3.3.7%2FphpMyAdmin-3.3.7-all-languages.tar.gz/download 2. tar zxvf phpMyAdmin-3.3.7-all-languages.tar.gz 3. mv phpMyAdmin-3.3.7-all-languages /usr/local/apache/htdocs/phpMyAdmin 4. cd /usr/local/apache/htdocs/ 5. chmod -R 777 phpMyAdmin/ 6. cp config.sample.inc.php config.inc.php 7. vi config.inc.php修改以下的參數(shù)為:(如果沒有,可自己添加) $cfg['Servers'][$i]['auth_type'] = 'config'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = '1'; 8. 配置apache配置文件:/usr/local/apache/conf/extra/httpd-vhost.conf 添加: <VirtualHost 192.168.1.41:80> ServerAdmin 460518621@qq.com DocumentRoot "/usr/local/apache/htdocs/phpMyAdmin" ServerName MySQL.admin ErrorLog "logs/mysql.admin-error_log" CustomLog "logs/mysql.admin-access_log" common </VirtualHost> 9. 重新啟動apache服務(wù) 配置好hosts后,就可以通過http://mysql.admin來訪問了。
當(dāng)前文章:phpMyAdmin安裝
文章源于:http://aaarwkj.com/article4/igghoe.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供自適應(yīng)網(wǎng)站、搜索引擎優(yōu)化、企業(yè)建站、商城網(wǎng)站、響應(yīng)式網(wǎng)站、定制網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)