Hello,
WampServer 2.5 (Apache 2.4.9, PHP 5.5.12, MySQL 5.6.17) is now available on the home page of Wampserver.com
This is also available from Sourceforge WampServer 2.5 and for the 32bit version choose
"wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe/download"
and for the 64bit version choose
"wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe/download"
And not the big green Download button.
Wampserver 2.5 will not run on Windows XPTwo versions in 32 and 64 bits comprise the same Apache, PHP and MySQL versions.
I recommend always installing the 32-bit version, even on a 64 bit system.
Do not install this version over an existing version , follow the steps : Installing a new release of WAMPServer [
forum.wampserver.com].
If you really want to install both the 32bit and 64bit versions on the same machine it can be done, however it must be done in two different folders, eg C:\wamp\ and C:\wamp64\.
The two versions can coexist on the same machine but do not run both at the same time.
See the bottom of this document for some late breaking changes and correction
-------------------------------------------------- ---------
WampServer 2.5
- Apache 2.4.9
- PHP 5.5.12
- MySQL 5.6.17
- PhpMyAdmin 4.1.14
- SqlBuddy 1.3.3
- XDebug 2.2.5
- phpsysinfo 3.1.12
Requirements .
WampServer 2.5 includes, among others , Apache 2.4.9 and PHP 5.5.12 that are "compiled" with Visual C++ 2012, more commonly referred to as VC11.
The VC11 library will not run on Windows XP, even SP3 or Windows Server 2003, so the minimum system requirements to run WAMPServer 2.5 are:
Windows 7 SP1 ,
Windows 8/8.1 ,
Windows Vista SP2 ,
Windows Server 2008 R2 SP1 ,
Windows Server 2012/R2.
A binary compiled using VC11 can load modules compiled with VC11, VC10 or VC9, but is totally incompatible with modules compiled using VC6.
This means that only Apache, PHP or MySQL versions compiled with VC9+ can be retrofitted, which excluded PHP 5.2.x, Apache 1.3 and 2.0 branches.
WampServer 2.5 uses symbolic links and junctions and will only work with NTFS formatted disks or partitions and not with FAT32 drives.
You should also ensure that you have the latest versions of the VC11 C++ runtime: [ [
www.microsoft.com] ]
Note: If you use a Windows 64-bit version, you must install both 32 and 64 bits versions of the VC11 (2012) runtime. The vcredist_arm.exe file only concerns ARM and Windows RT, for example the shelves SURFACE processors.
None of the addons available for download are compatible with WAMPServer 2.5
However it is perfectly possible to manually add versions of Apache, PHP and MySQL. See the forum for help on this.
-------------------------------------------------- -
News for WAMPServer aficionados:
here are the main changes and trends:
--- Home WampServer ( wamp/www/index.php )
- The vhosts folder is no longer used, as the new vhosts menu uses the original /apachex.y.z/conf/extra/httpd-vhost.conf file to display all your virtual hosts on a new menu.
- Tools, Projects and Alias are now displayed in 3 columns at the bottom of the homepage
- Recoding in utf-8
- Added index in $languages ??[ 'en' ] and [ 'en' ] :
'local' for set_locale
' DOCP url PHP documentation
' docm url MySQL documentation
' doca2.2 url of the Apache 2.2 documentation
' doca2.4 url of the Apache 2.4 documentation
'server' Server Software
- PHP extensions are displayed alphabetically, depending on your location
- Links now exists to the Apache, PHP and MySQL documentation
- Added variable $suppress_localhost = true;
true will stop localhost/ being placed in front of the subfolder name, useful for Virtual Hosts links.
- W3C Compliance by adding <li> ... </li> on variables $aliasContents and $projectContents when empty
--- General Configuration ( wamp/wampmanager.conf )
- Added editor in [main] section for the path of the text editor
You can put the full path to a text editor of your choice and any link that would have launches notepad will use your prefered editor
for example : editor = "C:\Program Files\Notepad++\notepad++.exe"
- Added [services] section with the name of the two windows services
This allows you to hold together the two versions 32 and 64 bit with different service names
ServiceApache = " wampapache " or " wampapache64 "
ServiceMysql = " wampmysqld " or " wampmysqld64 "
+ Note: The above variables require additions changes in wampmanager.conf files wampmanager.tpl ,
config.inc.php , scripts/refresh and scripts/wampserver.lib.php
The contents of the variables need to be changed with WampServer stopped.
--- Template File (wamp/wampmanager.tpl)
- There are 2 new submenus that you can have on the wampmanager left click menu.
One for your Virtual Hosts called (My Virtual Hosts ) and one for Projects i.e subfolders in the www folder called (My Projects)
The (My Projects menu is configured by default but the (My Virtual Hosts ) is not.
To activate, in the section ;WAMPMENULEFTSTART you may add a line after the localhost definition line,
;WAMPPROJECTSUBMENU For projects and
;WAMPVHOSTSUBMENU For Virtual Hosts
- Variables declared in wampmanager.conf
"notepad.exe" replaced by "${c_editor}" can be used to add your personal editor as the defult editor.
- Services and wampapache wampmysqld
wampapache replaced by ${c_apacheService}
wampmysqld replaced by ${c_mysqlService}
+ Note: The above variables have needed changes to these files
wampmanager.conf, wampmanager.tpl, config.inc.php, scripts/refresh and scripts/wampserver.lib.php
--- Library ( wamp/scripts/wampserver.lib.php )
- Fixed bug selecting the wrong php.ini file during a change of Apache.
- Create symbolic links instead of copting files
For phpx.yz/phpForApache.ini -> apachex.yz/bin/php.ini
Dll for phpx.yz/x.dll -> apachex.yz/bin/x.dll
- Updated version of PHP
- Added IPv6 detection function
--- Configuration ( wamp/scripts/config.inc.php )
- Variable for default text editor
- Variables for both services and wampapache wampmysqld
- $PhpDllToCopy Table amended to reflect new versions of PHP
--- Generator wampmanager.ini ( wamp/scripts/refresh.php )
- Symbolic links instead of copying files
- Cross referencing PHP extensions and dll files in the ext directory
The menu will show a Triangle if dll file exists but there is no extension line in php.ini
Display a "red square" if extension line in php.ini but no dll exists in the ext directory
- Same principle is used for Apache modules and LoadModule lines and file *.so
- Create any sub menus for My Projects and Virtual Hosts
- Adding variables to the path of the text editor
- Added variables for both wampapache and wampmysqld services
- Added flags FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES in file (...)
to avoid inadvertent deletions purposes lines.
- Replacement of die ( ... ) by error_log (...)
--- Online/Offline ( wamp/scripts/onlineOffline.php )
- Supports configuration differences between Apache 2.2 and 2.4
- Support IPv6 or not
--- Change Apache Version ( wamp/scripts/switchApacheVersion.php )
- Dynamically update old Apache version used
--- Change MySQL version ( wamp/scripts/switchMysqlVersion.php )
- Dynamically Update old MySQL version used
Please do not post questions in this thread with related to this new version.
For any problems installing or running , create a new thread containing the answers to READ BEFORE YOU ASK A QUESTION
Late breaking changes and corrections to the WAMPServer 2.5 releaseWampServer 2.5 and PHP 5.6.b2
- Due to a change in PHP 5.6.beta2 to "switch" properly to PHP 5.6.beta 2 you must take into account the new dll files in this PHP release.
Before switching to PHP 5.6.b2, in the "wamp\scripts\config.inc.php" file replace:
$phpDllToCopy = array (
'icudt52.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.6.a2
With
$phpDllToCopy = array (
'icudt53.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.6.b2
'icuin53.dll',
'icuio53.dll',
'icule53.dll',
'iculx53.dll',
'icutest53.dll',
'icutu53.dll',
'icuuc53.dll',
'icudt52.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.6.a2
If you intend to install other versions of Apache or PHP and to avoid problems in future versions, it is necessary to add some extra code to detect incompatibilities between Apache and PHP.
So edit wamp\scripts\refresh.php
Change :
// PHP incompatible avec la version courante d'apache
$incompatiblePhp = 0;
if ($apacheVersionTemp == '')
To
// PHP incompatible avec la version courante d'apache [mod oto25]
$incompatiblePhp = 0;
if ($apacheVersionTemp == ''
|| !isset($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile'])
|| empty($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile'])
|| !file_exists($c_phpVersionDir.'/php'.$onePhpVersion.'/'.$phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']))
And change:
// apache icompatible avec la version courante de PHP
$incompatibleApache = 0;
To
// apache incompatible avec la version courante de PHP [modif oto25]
$incompatibleApache = 0;
if ($apacheVersionTemp == ''
|| !isset($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile'])
|| empty($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile'])
|| !file_exists($c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/'.$phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']))
WAMPServer 2.5 64bit MYSQL ONLYThe my.in file contains a woops!
Edit the my.ini file using the wampmanager menus (wampmanager->MySQL->my.ini)
Locate this section header
[wampmysqld]
and change it to
[wampmysqld64]
Revert WAMPServer 2.5 "Your Projects" links to pre 2.5 mechanismIt would appear that some WAMPServer users cannot cope with creating Virtual Hosts for each of their sites/projects.
This is code that will be in the next version of WAMPServer so if you to want your "Your Projects" menu to provide links in the form 'localhost/folder_name' rather than 'folder_name' so you dont have to create a simple Virtual Host definition, here is how it should be done.
I would enphasise, this is not the recommended mechanism. The only GOOD solution is to use the Virtual Host mechanismHowever, making these changes will not harm WampServer and you can always set suppressLocalhost = "yes" to keep the WAMPServer2.5 mechanism.
1 - Edit wamp/wampmanager.conf
In the section [main] add this line :
suppressLocalhost = "no"
Save the file
If this is set to "no" Your Project links will be in the form `localhost/folder_name` i.e. the pre WAMPServer 2.5 way.
If this is set to "yes" Your Project links will be in the form `folder_name` and require a Virtual Hosts definitions to work.
2a - Edit \wamp\www\index.php
Locate this line
$suppress_localhost = true;
and comment it out like so:
//$suppress_localhost = true;
2b - Find this line
$wampserverVersion = str_replace('"','',$result[1]); ajouter/add
and after that line add this code
//[modif oto] - On récupère la valeur de suppressLocalhost
preg_match('|suppressLocalhost = "(.*)"|',$wampConfFileContents,$result);
if($result[1] != "yes" )
$suppress_localhost = false;
else
$suppress_localhost = true;
Save this file
3 - Edit /wamp/scripts/config.inc.php
Find this line
$c_editor = $wampConf['editor']; ajouter/add :
and after that line add
//[modif oto] Ajout variable suppressLocalhost
if($wampConf['suppressLocalhost'] != "yes" )
$c_suppressLocalhost = false;
else
$c_suppressLocalhost = true;
Save the file
4 - Edit /wamp/scripts/refresh.php
Find this line
{
$myreplacesubmenuProjects .= 'Type: item; Caption: "'.$projectContents[$i].'"; Action: run; FileName: "'.$c_navigator.'"; Parameters: "['.$projectContents][$i].'/"; Glyph: 5
and REPLACE it with
{ //[modif oto] Support de suppressLocalhost dans wampmanager.conf
$myreplacesubmenuProjects .= 'Type: item; Caption: "'.$projectContents[$i].'"; Action: run; FileName: "'.$c_navigator.'"; Parameters: "'.($c_suppressLocalhost ? "[" : 'http://localhost/').$projectContents[$i].'/"; Glyph: 5
Save this file.
The changes are now complete.
Now restart WAMPServer
Edited 6 time(s). Last edit at 11/17/2014 10:05AM by RiggsFolly.