WAMPSERVER (64 BIT) VERSION 3.0 (ERROR : NEED EXPERTISE HELP)
Posted by: aswadmanap@gmail.com (---.pajpm.gov.my)
Date: March 03, 2016 04:35AM

1 - Windows version used (Specify version number AND whether 32 or 64 bit)
Windows Server 2008 R2 Standard

2 - Version WampServer (Specify version number AND whether 32 or 64 bit)
wampserver 3.0 64 bit

3 - Apache Version
2.4.17

4 - PHP Version
5.6.16

5 - MySQL Version
5.7.9 - Port defined for MySQL: 3306

6 - What color is the WampServer icon (in the notification area of the taskbar)
Green



7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
* Active means no # at the beginning of the line.

127.0.0.1 localhost
127.0.0.1 localhost

If the WampServer icon is green:

8 - Do you have access to localhost (Homepage WampServer)?
YES

9 - Do you have access to phpMyAdmin?
YES

10 - If you refer to an error message, please include the EXACT wording of the error in your post

Forbidden
You don't have permission to access /lkp/ on the server
Apache/2.4.17 (Win64)PHP/5.6.16 Server at .....

(this message pop out when access trough internet/outsite network not localhost of the server, in server itself ok..my mysql port :33806)

11 - If you use an Antivirus and / or Firewall, please include the names of these
none
12 - What is the full path to the installation of WampServer (eg D:\wamp\)
C:\wamp64



Edited 1 time(s). Last edit at 03/03/2016 04:37AM by aswadmanap@gmail.com.

Re: WAMPSERVER (64 BIT) VERSION 3.0 (ERROR : NEED EXPERTISE HELP)
Posted by: RiggsFolly (Moderator)
Date: March 03, 2016 10:36AM

Hi,

First the hosts file should contain

127.0.0.1 localhost

::1 localhost


Second, WAMPServer out of the box is configure as a single user environment, as a security measure for the inexperienced.

By this I mean Apache is configured to only accept connections from the local machine.


If you want to access Apache from another PC on your network you have to configure Apache accordingly.


The simple way is to use the wampmanager menus :-

1. Right click wampmanager -> WAMP Settings - Memu Item: Online/Offline
2. left click wampmanager -> Put Online


This will edit the httpd.conf file and change the security setting to allow Apache to accept connections from ANY IP IN THE UNIVERSE. and restart Apache to pick up this new config

A more secure way to do it would be to edit the httpd.conf file manually using the wampmanager menus

wampmanager -> Apache -> httpd.conf

Look for this section of the config
#   onlineoffline tag - don't remove
    Require local

And amend it to something like this

#   onlineoffline tag - don't remove
    Require local
    Require ip 192.168.1

Assuming your subnet ip addresses start with 192.168.1 this will allow any ip on your internal subnet access to apache

You could be more specific if you wanted to be and do

#   onlineoffline tag - don't remove
    Require local
    Require ip 192.168.1.100
    Require ip 192.168.1.101
    Require ip 192.168.1.102

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

Re: WAMPSERVER (64 BIT) VERSION 3.0 (ERROR : NEED EXPERTISE HELP)
Posted by: aswadmanap@gmail.com (---.pajpm.gov.my)
Date: March 08, 2016 05:10AM

[ first of all thanks for your fast response...]


btw i am still having the same problem...already adjust the htdocs in which onlineoffline u mention above

i apache but yet still forbidden appears

this happen when upgrading the version for wamp itself

the message appear like this

You don't have permission to access / on this server.

Apache/2.4.17 (Win64) PHP/5.6.16 Server at 10.20.128.53 Port 80


the port use by apache is default port 80
and the mysql also using its default port 3306



Edited 1 time(s). Last edit at 03/08/2016 05:24AM by aswadmanap@gmail.com.

Re: WAMPSERVER (64 BIT) VERSION 3.0 (ERROR : NEED EXPERTISE HELP)
Posted by: RiggsFolly (Moderator)
Date: March 08, 2016 09:52AM

If you want to allow access from outside your own network then there is another config option.


Where you changed this

#   onlineoffline tag - don't remove
    Require local
    Require ip 192.168.1.100
    Require ip 192.168.1.101
    Require ip 192.168.1.102

Amend it to this

#   onlineoffline tag - don't remove
    Require all granted



All this information is available in the Apache documentation

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

Re: WAMPSERVER (64 BIT) VERSION 3.0 (ERROR : NEED EXPERTISE HELP)
Posted by: aswadmanap@gmail.com (---.pajpm.gov.my)
Date: March 16, 2016 02:19AM

First of all i would like to apologizes as i am late in reply, I am so sorry bro.

Second one, the helped indeed very meaningful to me.

Its now can be access from outside network.

thanks again.

And where is the button for respond back to you as the problem solved.

The person that helped others indeed very awesome...hahaha

Sorry, only registered users may post in this forum.