Howto Switch WampDeveloper’s Apache PHP MySQL Branches

WampDeveloper provides 3 Apache, PHP, and MySQL channels:

  • Current: Apache 2.4, PHP 5.5, MySQL 5.6
  • Stable: Apache 2.2, PHP 5.3, MySQL 5.5
  • Legacy: Apache 2.0, PHP 4.4, MySQL 5.1

The WAMP server can be switched to use any channel at any time.

For example:

To switch to using WampDeveloper’s “Stable” channel, which is: Apache 2.2, PHP 5.3, and MySQL 5.5…

1. In WampDeveloper’s Components Tab, click the download links to the latest provided releases of Apache 2.2, PHP 5.3 (regular, not FCGI), and MySQL 5.5 – that are not on the system already.

2. Once downloaded, extract each into the appropriate Versions folder:

Apache versions are maintained in: C:\WampDeveloper\Versions\Apache\
PHP versions are maintained in: C:\WampDeveloper\Versions\Php\
MySQL versions are maintained in: C:\WampDeveloper\Versions\Mysql\

See this howto to make sure each packaged version is correctly extracted and placed:
http://www.devside.net/wamp-server/howto-update-wampdevelopers-apache-php-mysql-versions

3. After these versions are on system, close WampDeveloper and open it again to make sure it re-reads everything (*usually not necessary).

4. Select to use the new Apache, PHP, and MySQL versions:

In WampDeveloper’s Components Tab, in the top right corner, there is a group named “Select Subscription”.

Click on its “Channel” dropdown box, it will list items: Current, Stable, Legacy.

Select “Stable”, and all the Apache, MySQL, PHP branches that are on system in that channel will become select-able via their check-boxes.

Check-mark the “Use” box on each of the latest versions in that channel (ex: Apache 2.2.27 + MySQL 5.5.36 + PHP 5.3.29).

Then click: Update To Selected

* When switching to another Channel, you have to switch all 3 components at the same time: Apache, MySQL, PHP. You cannot switch one at a time.

* Channel “Current” will only work for OSs above XP and Server 2003.

* If you are using PHP-FCGI, using dropdown box “PHP Type”, switch selection from Regular to FCGI.

3 thoughts on “Howto Switch WampDeveloper’s Apache PHP MySQL Branches

  1. Thomas

    On the current version (v5.1.0.1) the button is labelled “Switch to selected versions”. Moreover the services are not restarted automatically, which is not stated in the documentation.

    Trying WampDeveloper in order to run a php4 application it seems that I need to do more work in order to get apache 2.0.61 to start …..

    Reply
    1. admin Post author

      It’s a bug.

      After switching from Apache 2.4 to 2.0, all the proper Components\ folders and Config\ files are re-linked, but the Apache2 Service is not installed.

      Trying to install Apache manually (from the command line)…

      cd Components\Apache\bin
      
      httpd -k install -n "Apache2" -f "C:\WampDeveloper\Config\Apache\httpd.conf" -DSSL

      Outputs this error…

      Syntax error on line 31 of D:/WampDeveloper/Config/Apache/extra/wampd-httpd.host.http.vh.conf: The specified IP address is invalid.

      The specific line is…

      Allow from 127.0.0.0/8 ::1

      The problem here is that Apache 2.0.65 can’t handle IPv6 syntax: the “::1″ part.

      *This line is not a single instance, and is used multiple times in multiple config files.

      The fix is now listed here:
      http://www.devside.net/wamp-server/wampdeveloper-5-known-issues-and-solutions

      Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>