Access by ip Phpmyadmin

3

Inside the folder c: \ wamp \ alias \ phpmyadmin.conf there is the line below to release phpmyadmin access to all machines on the network:

  <IfDefine APACHE24>
   Require all granted

I would like to know if you can change to release only by ip, because I'm afraid to leave it open in this way. I tried it like this but it gave an error and apache did not go up:

  <IfDefine APACHE24>
   Require local, 192.168.200.71

Thank you

    
asked by anonymous 06.01.2016 / 14:15

1 answer

4

Add these lines to the file "phpmyadmin.conf":

Order Allow,Deny
Deny from All
Allow from 127.0.0.1
Allow from SeuIpAqui

You can add as many "Allow from" as you like.

Sources: link          link

    
06.01.2016 / 14:24