Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Access to phpmyadmin

Access to phpmyadmin 1 year 1 month ago #43989

Thanks to all for all your answers and your time to do so. It surely helps us newbies!!

~~~~~~~~~~~~~~~~~~~~~
After several attempts I finally got this far. I get access to my site by logging into it at http://localhost/MSJ2/administrator/index.php but I can not access the phpadmin page from WAMP.

ERROR: 403 You don't have permission to access /phpmyadmin/ on this server.

Alias file
Location> C:\wamp\www\MSJ2\wamp

<Directory "C:/wamp/www/MSJ2/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

Directory location> C:\wamp\www\MSJ2\wamp\www


~~~~~~~~~~~~~~~~~~~~~
Thank you
Jacque
Please become a member of OSTraining to reply to this post.

Access to phpmyadmin 1 year 1 month ago #43995

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3946
  • Thank you received: 134
  • Karma: 9
Hi jstojanovich,

phpmyadmin is not configured to be accessed over a network, which is why you get 403 error.

Locate the file phpmyadmin.conf in your wamp installation. If you have wampserver version 2 or higher, this file can be found at C:\wamp\alias\phpmyadmin.conf (Of course assuming that you installed wamp in C:\wamp). For earlier wamp versions this file is at C:\wamp\Apache2\conf\alias\phpmyadmin.conf.
Once found,open this file. Contents of the file will be like the following:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.1.3.1/"
# 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
#
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
As it is clearly written in the file itself, replace the line Deny from all (second line from the bottom )with Allow from all. Save the file, restart apache and you are done.
PhpMyadmin can be accessed from outside now.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.
  • Page:
  • 1

Sign Up for OSTraining

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.