Port :83 used for the VirtualHost is not an Apache define variable after Wamp update to 3.1.9
Posted by: RSRS (---.dip0.t-ipconnect.de)
Date: June 11, 2019 12:23PM

Today I finally updated my WAMP installation from 3.1.0 to 3.1.9 and upon restarting the server and opening the wamp control panel page it shows me this:

Port :83 used for the VirtualHost is not an Apache define variable

Why is this happening? It seems to be only a control panel thing because if I manually enter the vhost adress it works perfectly fine.

Options: ReplyQuote
Re: Port :83 used for the VirtualHost is not an Apache define variable after Wamp update to 3.1.9
Posted by: Otomatic (Moderator)
Date: June 11, 2019 02:44PM

Hi,

You cannot use a port other than 80 if you have not declared it as Listen Port.

Right-Click -> Tools -> Add a listen port for Apache ...... Choose 8083

And then you MUST use the Apache variable created as a port for the VirtualHost like:
<VirtualHost *:${MYPORT8083}>

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin 4.9.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Port :83 used for the VirtualHost is not an Apache define variable after Wamp update to 3.1.9
Posted by: RSRS (---.dip0.t-ipconnect.de)
Date: June 13, 2019 01:58PM

Ah I see. I wonder why they changed it to this. Anyways, the error is gone now.

Options: ReplyQuote
Re: Port :83 used for the VirtualHost is not an Apache define variable after Wamp update to 3.1.9
Posted by: Otomatic (Moderator)
Date: June 13, 2019 04:02PM

Hi,

Port 80 is the port reserved for the http protocol. Almost all ports between 01 and 1024 are reserved for specific protocols or actions. The alternative port for the http protocol is port 8080, so it is reserved for possible use by Wampserver.
If you want to use particular ports, you have a choice between 1025 and 65535, but, whatever port you choose as an alternative port, it must be declared as a listening port by Apache. The simplest way to do this and the easiest way to check for Wampserver is to use the Apache variables.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin 4.9.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.