Downgrade php version on Wampserver

Big change from PHP 5.2.xxx to PHP 5.3.xxx in latest wampserver version (2.0i) resulting some problem in existing project :

  • Joomla
  • Drupal

Related to ereg() function.

downgrade php wamp 1 Downgrade php version on Wampserver

Whenever you face the problem you can choose :

  1. Change ereg() to mb_ereg()
  2. Downgrade your PHP version.

Fortunately  wampserver support addon.

At the moment addon that wampserver support are :

  1. Choose your MySQL version.
  2. Choose your PHP version
  3. Choose your Apache version.

Downgrade PHP

Simply download any version from PHP family :

downgrade php wamp 2 Downgrade php version on Wampserver

I choose PHP 5.2.11

Double click the setup file and continue installation till finish.

Start Wampserver and click on the tray

downgrade php wamp 3 Downgrade php version on Wampserver

Choose PHP 5.2.11

downgrade php wamp 4 Downgrade php version on Wampserver

Wait for moment and refresh localhost to see new activated PHP version.

downgrade php wamp 5 Downgrade php version on Wampserver

Yes, when you see same as I see then you’re done.

Happy PHP-ing.

Kudos to Wampserver creator!