When testing a local site or web app on WAMPServer, you may want to test it on multiple devices or computers. For example, you may want to know how your local website looks like on a mobile phone. In this case, you need to enable local network users or devices to access the WAMP sites. Otherwise you will run into the access forbidden 403 error even when you access the WAMP server using the right IP address from another device or computer in the LAN.
403 Forbidden
You don’t have permission to access / on this server.
Apache/2.4.23 (Win64) PHP/5.6.25 Server at 192.168.1.102 Port 80
Note that we are using WAMPServer 3.0.6 on a Windows 10 PC. In version 3 and later, you do not need to edit the httpd.conf file anymore. There is a virtual host file named httpd-vhosts.conf, you can only edit this file to allow connections or access from a network device or computer in the same LAN. In fact, many other web server environment tools have the same problem. It is not only the WAMPServer, but also XAMPP and others. This is because these tools are designed by default to only allow access from the PC running the server. Another example is the XAMPP server local network access forbidden error & troubleshooting.
WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP. Wamp Server is able to create MySQL database and execute SQL statements. In this way, text size can also be customized as well as its display. It has a previewing option to check the changes in real-time. All-in-one tool: the advantage with this software is that it deals with 3 different website formats, such as Mysql, PHP and Apache. WampServer is a Web development platform on Windows that allows you to create dynamic Web applications with Apache2, PHP, MySQL and MariaDB. WampServer automatically installs everything you need to intuitively develope Web applications. You will be able to tune your server without even touching its setting files. The best solution is to implement SVN on your server (for checking in and checking out files and folders etc.) and ask all team members tto access that server instance. Here are the steps to make WAM enabled on LAN or WAN: Step 1. First you need to set up the WAMP service on your server and on the required services.
You should be able to find this httpd-vhosts.conf file according to file path wamp/bin/apache/apache{version}confextrahttpd-vhosts.conf from Windows Explorer. On my PC, it is wamp64/bin/apache/apache2.4.23/confextrahttpd-vhosts.conf. A faster way to find and open this file is to use the WAMPServer menus. Click on the WAMPServer icon at the bottom right corner to bring up the WAMP Server main menu, choose Apache >> httpd-vhosts.conf.
This will open this configuration file in your editor, the Notepad for Windows. It should look like this.
# Virtual Hosts
#
ServerName localhost
DocumentRoot D:/software/WAMP/wamp64/www
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
#
To allow access from any devices in the local network, simply replace “Require local” with “Require all granted“. If you only want to allow local network access to the WAMP Server for certain computer, mobile phone or other device, only allow IP address of the device or computer.
Require local
Require ip 192.168.1.100
Require ip 192.168.1.101
Require ip 192.168.1.102
Require ip 192.168.1.103
You can firstly find out the local IP address(es) of your device or computer, then add them to the white-list. You can refer to this guide to find out IP address on Windows 10 PC, or following tutorial to find out IP address on Samsung mobile phone.
Last but not least, after you have modified the httpd-vhosts.conf file, you have to save the change, then restart the Apache service in WAMPServer so the change can take effect. You can do this from the WampServer menus. click on WAMP Server icon, choose Apache >> Service administration >> Restart Service or simply WAMP Server >> Restart All Services.
Wampserver
WampServer 64 bits (x64) 3.2.0– Wampserver 3.2.0 64 bit x64 – Apache 2.4.41 – PHP 5.6.40, 7.3.12, 7.4.0 – MariaDB 10.4.10|10.3.20 – PhpMyAdmin 4.9.2 – Adminer 4.7.5 – PhpSysInfo 3.3.1. En option : PHP 7.0.33/7.1.33/7.2.25 – MySQL 5.7.28|8.0.18
changelogCloseDownload WampServer 64 bits (x64) 3.2.0
WampServer est disponible gratuitement (sous licence GPL). Vous pouvez remplir ce formulaire qui nous permettra de vous faire parvenir les actualités formation d’Alter Way, société éditrice, ainsi que toutes les informations liées aux évolutions de WampServer. Si vous ne le souhaitez pas, vous pouvez you can download it directly.
Visual Studio 2012 VC 11 vcredist_x64/86.exe : http://www.microsoft.com/en-us/download/details.aspx?id=30679
WARNING :Do not try to install WampServer 2 over WAMP5.If WAMP5 is installed on your computer, save your data, uninstall it and delete the WAMP5 directory before installing WampServer 2.
WARNING :All the components of the v2.2 WampServer stack have been compiled with VC9 version of Microsoft compiler.Earlier versions of Wampserver have been made with VC6 version of Microsoft compiler.
So, You can't mix components of 2.2 stack with previous version of Wampserver Stack components.
If you do it you will get an instable Wampserver.
WampServer 32 bits (x86) 3.2.0– Wampserver 3.2.0 32 bit x86 – Apache 2.4.41 – PHP 5.6.40, 7.3.12, 7.4.0 – MariaDB 10.4.10|10.3.20 – PhpMyAdmin 4.9.2 – Adminer 4.7.5 – PhpSysInfo 3.3.1. En option : PHP 7.0.33/7.1.33/7.2.25 – MySQL 5.7.28
changelogWamp Server For Mac
CloseDownload WampServer 32 bits (x86) 3.2.0
WampServer est disponible gratuitement (sous licence GPL). Vous pouvez remplir ce formulaire qui nous permettra de vous faire parvenir les actualités formation d’Alter Way, société éditrice, ainsi que toutes les informations liées aux évolutions de WampServer. Si vous ne le souhaitez pas, vous pouvez you can download it directly.
Visual Studio 2012 VC 11 vcredist_x64/86.exe : http://www.microsoft.com/en-us/download/details.aspx?id=30679
WARNING :Wamp Server For Macbook
Do not try to install WampServer 2 over WAMP5.If WAMP5 is installed on your computer, save your data, uninstall it and delete the WAMP5 directory before installing WampServer 2.
WARNING :All the components of the v2.2 WampServer stack have been compiled with VC9 version of Microsoft compiler.Earlier versions of Wampserver have been made with VC6 version of Microsoft compiler.
So, You can't mix components of 2.2 stack with previous version of Wampserver Stack components.
If you do it you will get an instable Wampserver.