Pages: 12Next
Current Page: 1 of 2
How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 04, 2017 09:34AM

I have an old version of WAMP that is running fine at the moment, on an old machine behind a router.

I want to leave that running, whilst I develop a new website on a new machine, connected to the same router, using a new version of WAMP.

Does anybody have a set by step solution.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: Otomatic (Moderator)
Date: July 04, 2017 09:36AM

Hi,

Install a new release of Wampserver

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - 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: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 04, 2017 01:51PM

That went nice and smooth. Onto the next problem.

My old WAMP is running on port 80. Router is setup for port forwarding 192.168.0.3 to port 80 TCP protocol. Everything works fine. httpd.conf is setup for port 80 etc with a virtualhost.

However new PC with new WAMP on it does not work. Port selected is 7777. Router is setup for port forwarding 192.168.0.7 port 7777 TCP protocol. httpd.conf is setup for port 7777 with a different virtualhost. Windows 10 firewall has an inbound rule setup for port 7777

localhost:7777 does not work, neither does the virtualhost

Any ideas or tips.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 04, 2017 02:28PM

Did you use the mqnu item on wampmanager to amend the Apache port number, or did you do it manually?

I would suggest using the menu

(right click ) wampmanager -> Tools -> Use port other than 80

Then we had better see your httpd-vhosts.conf file just to check

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 04, 2017 09:00PM

I assigned port number manually, as I cannot find any where to do it using wampmanager. All I can do is to test port 80 ?

Apache 2.4.9
Mysql 5.6.17
php 5.5.12
wampserver 2.5
windows 10

vhosts is part of httpd.conf (extract as below) - Please note that www.abc.co.uk is a fictitious address

NameVirtualHost *.7777

<VirtualHost *:7777>
ServerAdmin gvbale@sfield.co.uk
ServerName www.abc.co.uk
ServerAlias abc.co.uk
DocumentRoot C:/wamp/www/
ErrorLog logs/www.abc.co.uk-error.log
CustomLog logs/www.abc.co.uk-access.log common
<Directory "/abc">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 12:36AM

Just installed Wampserver 3.0.3

I now see where you can wampmanager -> Apache -> Use port other than 80

I will have to do that tomorrow, as I off to bed.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 05, 2017 01:57AM

Please upgrade your install to WAMPServer3.0.9

You can get that here [wampserver.aviatechno.net]

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 02:40AM

Just upgraded to

Apache 2.4.18
Mysql 5.6.29
php 7.0.3
wampserver 3.0.9
phpmyadmin 4.1.14
windows 10

Problem - I now cannot see where you can wampmanager -> Apache -> Use port other than 80

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 08:28AM

Found it - just right click windows 10 tray icon and a tools menu comes up.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 05, 2017 12:21PM

Yup,

Thats why my instructin above said

(right click) wampmanager -> Tools -> Use port other than 80

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 01:55PM

problem is that there is no where that you can test port 7777. It is only capable of testing 80 and 3306.

Do I have to remove all references to port 80 in httpd.conf ??

Localhost seems to work fine.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: Otomatic (Moderator)
Date: July 05, 2017 03:04PM

Hi,

> problem is that there is no where that you can test port 7777. It is only capable of testing 80 and 3306.

First, you choose port 7777 as port other than 80 and, after, you can test port 7777.
It is always possible to go back by choosing a port other than 7777 it it does not work.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - 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: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 05, 2017 05:03PM

If you used the Tool menu to change the port number, then it also ADDS another TEST PORT menu for the port you have switched it to.

Use the Tool and the tool will help you out.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 07:33PM

Even though I have setup router Port Forwarding Rule - port 7777, protocol TCP, ip address 192.168.0.7

I get

***** Test which uses port 7777 *****

===== Tested by command netstat filtered on port 7777 =====

Port 7777 is not found associated with TCP protocol
Port 7777 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 7777 =====

Your port 7777 is not actually used.


Any ideas please.

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: Otomatic (Moderator)
Date: July 05, 2017 07:50PM

Hi,

Wampserver 3.0.9 with Apache 2.4.18
Right-Click -> Tools -> Test Port 80
The result is :

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Your port 80 is used by a processus with PID = 2416
The processus of PID 2416 is 'httpd.exe' Session: Services
The service of PID 2416 for 'httpd.exe' is 'wampapache'
This service is from Wampserver - It is correct

Test for TCPv6
Your port 80 is used by a processus with PID = 2416
The processus of PID 2416 is 'httpd.exe' Session: Services
The service of PID 2416 for 'httpd.exe' is 'wampapache'
This service is from Wampserver - It is correct

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is actually used by :

Server: Apache/2.4.18 (Win32) PHP/7.1.6

Right-Click -> Tools -> Use a port other than 80 then I choose 7777
Localhost access is correct with 'http://localhost:7777/'
Richt-Click -> Tools -> Test port used : 7777
The result is :
***** Test which uses port 7777 *****

===== Tested by command netstat filtered on port 7777 =====


Test for TCP
Your port 7777 is used by a processus with PID = 8136
The processus of PID 8136 is 'httpd.exe' Session: Services
The service of PID 8136 for 'httpd.exe' is 'wampapache'
This service is from Wampserver - It is correct

Test for TCPv6
Your port 7777 is used by a processus with PID = 8136
The processus of PID 8136 is 'httpd.exe' Session: Services
The service of PID 8136 for 'httpd.exe' is 'wampapache'
This service is from Wampserver - It is correct

===== Tested by attempting to open a socket on port 7777 =====

Your port 7777 is actually used by :

Server: Apache/2.4.18 (Win32) PHP/7.1.6

Right-Click -> Tools -> Test port 80
The result is :

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Port 80 is not found associated with TCP protocol

Test for TCPv6
Port 80 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is not actually used.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - 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: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 05, 2017 07:50PM

You are testing from inside your network, so what has a router's port forwarding got to do with anything?

Or am I missing something

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 05, 2017 09:18PM

This is strange. I changed port to a random port, then back to 7777, and I get a green icon - All services running. But still localhost and website does not work.

In testing port 7777 I get the following.


***** Test which uses port 7777 *****

===== Tested by command netstat filtered on port 7777 =====


Test for TCP
Your port 7777 is used by a processus with PID = 5860
The processus of PID 5860 is 'httpd.exe' Session: Services
The service of PID 5860 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct

Test for TCPv6
Your port 7777 is used by a processus with PID = 5860
The processus of PID 5860 is 'httpd.exe' Session: Services
The service of PID 5860 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct

===== Tested by attempting to open a socket on port 7777 =====

Your port 7777 is actually used by :

Server: Apache/2.4.18 (Win64) PHP/7.0.3

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 05, 2017 09:45PM

Do we assume that you are using the port number on all urls?

i.e. `localhost:7777`

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to run 2 versions of WAMP
Posted by: Otomatic (Moderator)
Date: July 05, 2017 09:47PM

Hi,
You need to call localhost by 'http://localhost:7777/'

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - 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: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 06, 2017 02:45PM

I think we are getting somewhere now.

As I can get [localhost] to come up with the WAMPSERVER page.

Also I can get [localhost] to show phpmyadmin and all of my databases.

I can also get [localhost] to display on screen some demo text.

But I just cannot get into my website at [www.fruitnuttrees.co.uk] (which is on this new computer).

It still directs me to my old computer, even thou I have # out the virtual host for this site.

I have rebooted old computer a number of times. i do not have web forwarding set for that domain name

<VirtualHost *:7777>
ServerAdmin gvbale@sfield.co.uk
ServerName www.fruitnuttrees.co.uk
ServerAlias fruitnuttrees.co.uk
DocumentRoot C:/wamp/www/prestashopv1.7.1
ErrorLog logs/www.fruitnuttrees.co.uk-error.log
CustomLog logs/www.fruitnuttrees.co.uk-access.log common
<Directory "/www/prestashopv1.7.1">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.