标签:blog io ar os sp 文件 数据 div on
WAMP环境是一个非常优秀的webservice集成环境,它集成的phpmyadmin也是一款非常优秀的数据库訪问软件。wamp默认安装下,phpmyadmin工具仅仅能本地用,在站点开发中,数据库都是在另外的server上,那么wamp下怎样訪问呢?
文章带来“怎样訪问远程wamp下的phpmyadmin?”
wamp2.5(32bit)环境
集成环境版本号(Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 PHPMyAdmin : 4.1.14 SqlBuddy : 1.3.3 XDebug : 2.2.5)
1.在Apache环境下phpmyadmin的配置文件phpmyadmin.conf ,找到 以下代码:<Directory "c:/wamp/apps/phpmyadmin4.1.14/"> Options Indexes FollowSymLinks MultiViews AllowOverride all <IfDefine APACHE24> Require local </IfDefine> <IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1 </IfDefine> php_admin_value upload_max_filesize 128M php_admin_value post_max_size 128M php_admin_value max_execution_time 360 php_admin_value max_input_time 360 </Directory>
<Directory "c:/wamp/apps/phpmyadmin4.1.14/"> Options Indexes FollowSymLinks MultiViews AllowOverride all <IfDefine APACHE24> Require local #--> 改动行 Require ip 192.168.1 </IfDefine> <IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1 </IfDefine> php_admin_value upload_max_filesize 128M php_admin_value post_max_size 128M php_admin_value max_execution_time 360 php_admin_value max_input_time 360 </Directory>
Wamp2.4(32bit)环境
1.參照Wamp2.5环境下的第一步;
2.依照以下"-->"处改动配置文件; ip 192.168.1同意訪问phpmyadmin的IP段,设置Allow from all意味同意全部IP訪问
;
<IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1 #-->改动行 Allow from 192.168.1 </IfDefine>
P.S wamp环境的配置是依赖于Apache版本号的wamp2.5和wamp2.4配置不一样原因在于依赖的Apache版本号不一样!!!
标签:blog io ar os sp 文件 数据 div on
原文地址:http://www.cnblogs.com/bhlsheji/p/4094677.html