PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 04, 2008 09:42AM

Hi Guys,

I have an issue with WAMP server not feeding the PHPMyAdmin pages across the internet.

I have installed WAMP Server many times, however, this is the first time I've used it in a testing environment on a PC outside my network.

I have WAMP feeding on Port 8080 on a Public IP address on a server. I can get my web pages and all other services feeding through on that port. However, everytime I have tried to access the PHPMyAdmin functions via the web it will not work, I get "the page cannot be displayed".

Any ideas?

Regards

Kris

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 04, 2008 10:08AM

yes phpmyadmin is blocked from outside use by default.


open C:\wamp\alias and open phpmyadmin.conf


<Directory "c:/wamp/apps/phpmyadmin2.11.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>


change that to


<Directory "c:/wamp/apps/phpmyadmin2.11.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow, Deny
Allow from all
</Directory>




copy what i have a above as i have a few changes to it. now phpmyadmin will be accessible to everyone on the server so make sure u add a .htaccess .htpass file to secure it

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 05/04/2008 10:15AM by stevenmartin99.

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: yfastud (Moderator)
Date: May 04, 2008 04:26PM

When you open your MySQL wide through your phpMyAdmin, make sure you have at least a security in place or every one can easy access your db and change everything they like

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 06, 2008 01:30PM

Hi,

Thank you both for the information, but for some reason it still will not show phpmyadmin remotely.

So I am still a bit stumped! I would like to use the built in phpmyadmin rather that upload and use my own version if possible.

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 06, 2008 01:33PM

what error are u geting? just page not found or forbiden?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 06, 2008 02:50PM

No error just page not found like it's not being served.

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 06, 2008 03:33PM

can u post up a copy of your phpmyadmin.conf in the alias folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 06, 2008 04:25PM

Here you go:

Alias /phpmyadmin "D:/wamp/apps/phpmyadmin2.11.5/"

# 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
#

<Directory "D:/wamp/apps/phpmyadmin2.11.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow, Deny
Allow from all
</Directory>

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 06, 2008 04:33PM

Interstingly enough, although I'm not sure if it's related but the phpmyadmin url is now showing a 403 forbidden Error!?

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 06, 2008 04:42PM

yes this is better. but still i dunno why ur getting this cos u have the right code.


anyway the best solution and quickest is to just move your phpmyadmin2.15 folder from c:/wamp/apps
and move it directly into your www folder and rename it phpmyadmin



so u now have c:/wamp/www/phpmyadmin


then in the c:/wamp/alais folder remove the phpmyadmin.conf file





PLEASE NOTE: as before when allowsing it over the network your phpmyadmin folder is now open to the public so use a .htaccess file to supply security to it

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 05/06/2008 04:43PM by stevenmartin99.

Options: ReplyQuote
Re: PHPMyadmin not available via IP address
Posted by: Kris4Fizz (---.ip.eu.tachyon.net)
Date: May 06, 2008 04:53PM

I'll give that a whirl tomorrow.

Many thanks for your help Steve.

Kris

Options: ReplyQuote


Sorry, only registered users may post in this forum.