Wamp Phpmyadmin Forbidden on Local Area Network
Posted by: zandro (---.DCTV.PH)
Date: March 07, 2015 08:12AM

Hi Guys, I'm new to wamp invironment and I'm having a hard time sharing wamp phpmyadmin on local area network. I was able to access mysql server and the webpage project created on the server but with the phpmyadmin i dont know why I always get the Forbidden Message when I try to access it on other computers using the server ip address. I dont know what file to edit. I already search many tutorials like editing the alias config but none of them works. please help me guys.

Thanks,
Zandro

Options: ReplyQuote
Re: Wamp Phpmyadmin Forbidden on Local Area Network
Posted by: RiggsFolly (---.as43234.net)
Date: March 07, 2015 11:41AM

Hi Zandro

phpMyAdmin's permissions are part of the alias definition and not part of the general permission's of Apache.


So edit \wamp\alias\phpmyadmin.conf and change like this, assuming your subnet is 192.168.0? Check that first!!!


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.0                               <-- add this line

  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
	  Deny from all
	  Allow from localhost ::1 127.0.0.1
          Allow from 192.168.0                           <-- and this just for compatibility
                                                                  
	</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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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