how to access phpmyadmin remotely

前端 未结 7 719
没有蜡笔的小新
没有蜡笔的小新 2021-01-11 23:55

Is it possible to access phpmyadmin from outside the network? Where do I set it? I tried editing httpd.conf, and restarted all services from wampserver but it doesn\'t work<

相关标签:
7条回答
  • 2021-01-12 00:21

    Did you try like this ? Maybe you shuld add directory name in your network ?

    <Directory "/Documents and Settings/All Users/Documents/xampp/phpMyAdmin">
    ...
    ...
    ...
    ...
    </Directory>
    
    0 讨论(0)
  • 2021-01-12 00:23
    # Edit C:\wamp\alias\phpmyadmin.conf  
    # Below is v3.5.1 - the current version is 4.0.4.1
    
    Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.5.1/" 
    
    # to give access to phpMyAdmin from outside 
    # replace the lines
    #
    # Require local
    #
    # by
    #
    # Require all granted
    #
    
    <Directory "c:/wamp/apps/phpmyadmin3.5.1/">
       Options Indexes FollowSymLinks MultiViews
       AllowOverride all
       Require all granted
    </Directory>
    
    0 讨论(0)
  • 2021-01-12 00:31

    just for reference of other users who will encounter this kind of issue I would like to remind everyone that aside from changing directories, you must also have to check your firewall settings.

    It happened to me, I've changed everything (all config in xampp) but still cannot connect. I almost gave up and then I remembered firewall. After I changed my settings it all works fine.

    just sharing

    0 讨论(0)
  • 2021-01-12 00:35

    Are you on Unix or Windows? If on Unix, check the owner/permissions for the directory that phpMyAdmin is installed under - that might have something to do with it.

    0 讨论(0)
  • 2021-01-12 00:41

    Go to C:\wamp\alias and edit the file phpmyadmin

    # to give access to phpmyadmin from outside 
    # replace the lines
    #
    #    Order Deny,Allow
    #    Deny from all
    #    Allow from 127.0.0.1
    #
    # by
    #
    #   Order Allow,Deny 
    #   Allow from all
    
    0 讨论(0)
  • 2021-01-12 00:42

    Put below code in file D:\wamp\alias\phpmyadmin.conf

    < Directory "D:/wamp/apps/phpmyadmin3.2.0.1/">

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Allow from all
    Allow from 127.0.0.1
    

    < /Directory>

    0 讨论(0)
提交回复
热议问题