Difference between revisions of "WampServer"

From TNG_Wiki
Jump to navigation Jump to search
(→‎Versions: fix download links for WampServer versions)
(updated for WampServer 3.2.5 and Windows 10 21H1)
 
(3 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
== Versions ==
 
== Versions ==
  
The following table shows the software versions provide by various versions of WampServer versions. The latest versions can be downloaded from [http://wampserver.aviatechno.net/]. Older versions can be found on SourceForge.
+
The following table shows the software versions provide by various versions of WampServer versions. The latest versions can be downloaded from [http://wampserver.aviatechno.net/ Repository of Wampserver files] which also includes individual component upgrades. Older versions can be found on SourceForge.
  
 
In general, you should try to use the WAMP version that provides versions of Apache, MySQL, and PHP that most closely matches the versions used on your WWW server..  Your hosting service's versions can be determined from the TNG Admin Menu >> Setup >> Diagnostics Tab
 
In general, you should try to use the WAMP version that provides versions of Apache, MySQL, and PHP that most closely matches the versions used on your WWW server..  Your hosting service's versions can be determined from the TNG Admin Menu >> Setup >> Diagnostics Tab
Line 21: Line 21:
 
|-
 
|-
 
! WampServer !! Apache !! MySQL !! PHP !! phpMyAdmin !! Download Link
 
! WampServer !! Apache !! MySQL !! PHP !! phpMyAdmin !! Download Link
 +
|-
 +
| 3.2.3 (64 or 32) <br /> upgrade 3.2.5  || 2.4.46b || MySQL 5.7.35,8.0.26<br/>-MariaDB 10.3.23,10.6.4 || 5.6.40, 7.3.30, 7.4.23, 8.0.10 || 4.9.7, 5.1.1||  [http://wampserver.aviatechno.net/ download WampServer 3.2.5 upgrade]
 +
|-
 +
| 3.2.3 (64 or 32) <br /> upgrade 3.2.4  || 2.4.46b || MySQL 5.7.33,8.0.3<br/>-MariaDB 10.3.23,10.6.8 || 5.6.40, 7.3.26, 7.4.14, 8.0.1 || 4.9.7, 5.0.7||  [http://wampserver.aviatechno.net/ download WampServer 3.2.3]
 +
|-
 +
| 3.1.9 (64 or 32) || 2.4.39 || MySQL 5.7.24-MariaDB 10.3.14 || 5.6.40, 7.0.33, 7.1.29, 7.2.18, 7.3.5 || 4.8.5 ||  [http://www.wampserver.com/en/ download WampServer 3.1.9]
 
|-
 
|-
 
| 3.1.0 (64 or 32) || 2.4.27, 2.4.29 || 5.6.31, 7.0.23, 7.1.9 || 5.7.19|| 4.1.14, 4.7.7 ||  [http://www.wampserver.com/en/ download WampServer 3.1]
 
| 3.1.0 (64 or 32) || 2.4.27, 2.4.29 || 5.6.31, 7.0.23, 7.1.9 || 5.7.19|| 4.1.14, 4.7.7 ||  [http://www.wampserver.com/en/ download WampServer 3.1]
 
|-
 
|-
| 3.0.3 (64 or 32) || 2.4.18 || 5.6.08, 7.0.3 || 5.6.29 || 4.5.4.1 ||  [https://sourceforge.net/projects/wampserver/files/WampServer%203/ download WampServer 3.0.0]
+
| 3.0.3 (64 or 32) || 2.4.18 || 5.6.18, 7.0.3 || 5.6.29 || 4.5.4.1 ||  [http://wampserver.aviatechno.net/ Upgrade WampServer 2.5 to 3.0.0]
 
|-
 
|-
 
| 2.5 (64 or 32 bit versions) || 2.4.9 || 5.6.17 || 5.5.12 || 4.1.14 ||  [https://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.5/ download WampServer 2.5]
 
| 2.5 (64 or 32 bit versions) || 2.4.9 || 5.6.17 || 5.5.12 || 4.1.14 ||  [https://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.5/ download WampServer 2.5]
Line 38: Line 44:
 
| 2.0c || 2.2.8 || 5.0.51b || 5.2.6 || 2.11.6 || [http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.0/WampServer2.0c.exe/download download WampServer 2.0c]
 
| 2.0c || 2.2.8 || 5.0.51b || 5.2.6 || 2.11.6 || [http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.0/WampServer2.0c.exe/download download WampServer 2.0c]
 
|}
 
|}
 +
Addons are available to install other newer or previous releases of Apache, PHP, MySQL & MariaDB at [http://https://sourceforge.net/p/wampserver/activity WampServer Addons, Extensions, & Upgrades]
  
 
== Install instructions ==
 
== Install instructions ==
Line 48: Line 55:
  
 
For an excellent writeup of installing TNG on WAMP see Tamura Jones' [http://www.tamurajones.net/WampServer.xhtml WampServer] article.
 
For an excellent writeup of installing TNG on WAMP see Tamura Jones' [http://www.tamurajones.net/WampServer.xhtml WampServer] article.
 +
 +
If installing under Windows 10 21H1 or Windows 11, see [[WampServer under Windows 10 21H1]]
  
 
== Tray icon ==  
 
== Tray icon ==  

Latest revision as of 17:00, 10 September 2021

20080723164724.jpg
  • WampServer is a Windows web development environment that supports TNG. It installed Apache, PHP and MySQL, plus PHPMyAdmin and SQLiteManager on Windows 7, 8, or 10. Many TNG administrators use WAMP for testing sites right on their PC.s
  • WampServer installs automatically though an installer, and is very intuitive. Many tuning and configuration tasks can be done through Windows menus. For routine use of WAMP, you shouldn't have to edit the various configuration files. A number of setting and features make use of the Windows command prompt, but there's a good chance that you will never need them.

Versions

The following table shows the software versions provide by various versions of WampServer versions. The latest versions can be downloaded from Repository of Wampserver files which also includes individual component upgrades. Older versions can be found on SourceForge.

In general, you should try to use the WAMP version that provides versions of Apache, MySQL, and PHP that most closely matches the versions used on your WWW server.. Your hosting service's versions can be determined from the TNG Admin Menu >> Setup >> Diagnostics Tab

WampServer Apache MySQL PHP phpMyAdmin Download Link
3.2.3 (64 or 32)
upgrade 3.2.5
2.4.46b MySQL 5.7.35,8.0.26
-MariaDB 10.3.23,10.6.4
5.6.40, 7.3.30, 7.4.23, 8.0.10 4.9.7, 5.1.1 download WampServer 3.2.5 upgrade
3.2.3 (64 or 32)
upgrade 3.2.4
2.4.46b MySQL 5.7.33,8.0.3
-MariaDB 10.3.23,10.6.8
5.6.40, 7.3.26, 7.4.14, 8.0.1 4.9.7, 5.0.7 download WampServer 3.2.3
3.1.9 (64 or 32) 2.4.39 MySQL 5.7.24-MariaDB 10.3.14 5.6.40, 7.0.33, 7.1.29, 7.2.18, 7.3.5 4.8.5 download WampServer 3.1.9
3.1.0 (64 or 32) 2.4.27, 2.4.29 5.6.31, 7.0.23, 7.1.9 5.7.19 4.1.14, 4.7.7 download WampServer 3.1
3.0.3 (64 or 32) 2.4.18 5.6.18, 7.0.3 5.6.29 4.5.4.1 Upgrade WampServer 2.5 to 3.0.0
2.5 (64 or 32 bit versions) 2.4.9 5.6.17 5.5.12 4.1.14 download WampServer 2.5
2.2a 2.2.21 5.5.16 5.3.8 (version 32 bits) 3.4.5 download WampServer 2.2a
2.2a 2.2.21 5.5.16 5.3.8 (version 64 bits) 3.4.5 download WampServer 2.2a
2.1e 2.2.17 5.5.8 5.3.5 (version 32 bits) 3.3.9 download WampServer 2.1e
2.1d 2.2.17 5.3.4 5.1.53 (version 64 bits) 3.2.0.1 download WampServer 2.1d
2.0c 2.2.8 5.0.51b 5.2.6 2.11.6 download WampServer 2.0c

Addons are available to install other newer or previous releases of Apache, PHP, MySQL & MariaDB at WampServer Addons, Extensions, & Upgrades

Install instructions

You can find install instructions for WampServer in a TNG Community post titled Setting up a server on your home computer (localhost) and on the teams tutorial site

Note that since WampServer does not install under Program Files, you can install it on a secondary drive, like D: or E:

See also Guides for WAMP for more complete instructions, including how to Setup Password Protection on WAMP (Reference provided by Scotty on the TNG Forum.)

For an excellent writeup of installing TNG on WAMP see Tamura Jones' WampServer article.

If installing under Windows 10 21H1 or Windows 11, see WampServer under Windows 10 21H1

Tray icon

Once you have installed and started WampServer, it places the a WAMP icon on the Windows system tray, and you can click on that icon to add virtual folders, modify settings, start and stop the various servers, etc. icon in tray

Launching phpMyAdmin

WampServer menu.gif A menu like this pops up when you click on the WampServer icon. You can then, for example, select phpMyAdmin from the application list. Or you can stop or restart one of the WAMP services, or select one of the services and configure or restart it.

Creating a MySQL User

See creating a MySQL User ID with appropriate privileges for TNG database connection, if you don't want to use the Root user with no password.

Creating Virtual Hosts

See WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Host

Using an alternate port number

If you are also running Windows IIS or certain other services that use port 80, you may need to use an alternate port number. Here are instructions for configuring WAMP to use port 8080, which, for some reason, is the most common alternative to 80. (But you can use port 81 if you want.)

  1. Edit the Apache httpd.conf file (which you can do via a menu entry from WAMP's task bar icon), and look for the line that starts with the command "listen". The listen command argument is an ip address, then a colon and a port number. You usually don't want an IP address there, because your PC probably changes IP address from time to time. If you don't have an IP address on the line, you evidently don't want the colon, either. The line can just be "listen 8080" (without quotes).
  2. To get the "localhost", "phpmyadmin", and "webgrind" commands on the WAMP menu to use the new port, you need to use a text editor to edit the file wampmanager.tpl (in the WAMP installation folder, which is probably c:\wamp). In that file, replace any occurrence of "http://localhost" with "http://localhost:8080".
  3. Then exit from WAMP (right click on the icon, and select Exit), and rerun WAMP. (It's not sufficient just to restart the Apache service.)

TNG User Related feedback

  • I didn't find it all that difficult to install the necessary files on my home computer. It will install and configure everything for you. I use it all the time to test out things before I install them on my live site. (Carol Thatcher Hall on the User List)
  • The latest version of Wampserver comes in the same two varieties 64 bits and 32 bits. I chose Wampserver 64 as recommended for running on a Windows 10 (64 bit) PC. The latest version Wampserver 3.0.6 was revised towards the end of March 2017. Its components: Apache: 2.4.23; PHP 5.6.25 or 7.0.10; MySQL 5.7.14 I ported over my TNG10.1.3 website with ease. The option I chose was to set Firefox as the default browser. It required the Disable MySQL Strict Mode mod but once that was installed the website runs perfectly in the localhost environment. Alan Craxford.
Note that TNG 11.0.2 disables MySQL Strict Mode when connecting to the database--KenRoy (talk) 08:45, 4 April 2017 (CDT)

Related links

Other Home Computer web server options are available using:

  • MAMP - running Apache, MySQL and PHP on a Mac OS X computer
  • XAMPP - A alternative to WAMP that tends to require users to be more conformatble with LINUX.