Making phpmyadmin, etc. available over intranet in a wampserver installation.

In wampserver 3.2.6, this is accomplished by the following steps: 
  1. In your firewall, add inbound and outbound rules for TCP port 8080 (or for whichever port your wampserver is configured to run). I allowed all inbound and outbound traffic over 8080 (my apache port) in my Windows Firewall.
  2. Edit your aliases as shown in the picture here:
  3. Comment the "Require local" as "#Require local".
  4. Write "Require all granted".
  5. Click "Restart All Services" in wampserver.
Once the wampserver tray icon turns green again, you should be able to access phpmyadmin using a URL like http://localhost:8080/phpmyadmin/

Now, if you do step3-4 in httpd-vhosts.conf, then it would affect all websites hosted over this instance of Apache, which is certainly not a desirable situation as one may even try to access your server's www root directory. 

In view of this, if you want to allow over intranet access to your website & website administration interface, create an alias in your apache for your website and follow steps 3-5 for the created alias.

Comments