you don't have permission to access /phpmyadmin/ on this server
Posted by: suja (2.50.129.---)
Date: June 16, 2015 04:43PM

I installed in one of the computer wamp server of latest version. Apache : 2.4.9, Mysql : 5.6.17, Php : 5.5.12. I want to access phpmyadmin in another computer. But I am getting the forbidden message : You don't have permission to access /phpmyadmin/ on this server.

I changed C:wamp/alias/phpmyadmin.conf file. I cleared these given below line

Deny from all
Allow from localhost ::1 127.0.0.1

and added

Allow from all


Still the same error exists

Can anyone make it clear how to change it and what all are the files needs to be changed.

Options: ReplyQuote
Re: you don't have permission to access /phpmyadmin/ on this server
Posted by: RiggsFolly (---.as43234.net)
Date: June 16, 2015 07:01PM

Hi
If you look closely at the phpmyadmin.comf file you will see an <IfDefin...> statement.

As you are using Apache 2.4 you need to change the section inside the <IfDefine APACHE24> like so :-

  <IfDefine APACHE24>
    Require local
  </IfDefine>

I suggest you do this assuming your subnet starts with 192.168.1

  <IfDefine APACHE24>
    Require local
    Require ip 192.168.1
  </IfDefine>


Full file with changes

Alias /phpmyadmin "d:/wamp/apps/phpmyadmin4.1.14/"

# to give access to phpmyadmin from outside 
# replace the lines
#
# Require local
#
# by
#
# Require all granted
#

<Directory "d:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all

  <IfDefine APACHE24>
    Require local
    Require ip 192.168.1
  </IfDefine>

  <IfDefine !APACHE24>
    Order Deny,Allow
	  Deny from all
	  Allow from localhost ::1 127.0.0.1
   </IfDefine>

  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360
</Directory>

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.8 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: you don't have permission to access /phpmyadmin/ on this server
Posted by: Merit Wayler (---.evard.ch)
Date: July 29, 2015 12:41AM

This did not work for me, JUAY, JUAAY THE RITO?

Options: ReplyQuote
Re: you don't have permission to access /phpmyadmin/ on this server
Posted by: RiggsFolly (---.as43234.net)
Date: July 29, 2015 12:47AM

Hi Merit,

Please start a new thread and answer these questions as part of your question [forum.wampserver.com]

Also specifiy exactly what you are trying to do

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.8 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.