First, the place where you can get additional versions of Apache, MySQL and PHP to add to Wamp is this one: Wamp Sourceforge. Just go to this sourceforge for wamp project, click on Apache, choose the exe you would like to add and download it. Execute it and it will add it to your wamp with a nice GUI installer. Then, when you clic on the Wamp icon in clock tray, use the menu that shows up and go to
Apache --> Apache version, you will see that there will be more versions with the current one checked. If you click on a given version, it will reload with that one.
Second, if you have Wamp 2.5, these extensions are unlikely to work and you should install Wamp 2.4 instead.
Third, PHP 5.1.0 should work with Apache 2.0.49.
Fourth, if your Apache + PHP combination doesn't work, Wamp will remain with orange icon.
UPDATE: I tested it in order to help you getting it working. First I installed WampServer 2.4 x86 (sometimes x64 has hiccups working with extensions, I just play it safe but you can test it!)
Then I downloaded Apache 2.0.50 and PHP 5.1.0 from the Extensions section.
I executed both exe files, Apache first, PHP later. Do not remove the PHP inclued as it has some Wamp functionalities configured to be executed via CLI.
After that, I started Wamp and changed Apache version so the checked one would be 2.0.50. THEN I changed PHP version to 5.1.0.
I installed the apache service using
apache -- service -- remove service,
apache -- service -- test port 80 and
apache -- service -- install service to remove previous service with the bundled apache and install the new one. Check that no httpd.exe process is running so you can successfully install the new service. It might get stucked in a point here. Kill it if necessary.
Exit wamp. Start it again. Check that the service is available in
apache -- service to start, stop and restart. It means it's installed the right way.
The final changes to make it work:
- Check that Apache can manage IPv6. Edit the alias configured for Apache. All the .conf in
C:/wamp/alias have some access directives with a line
Allow for ::1. Comment it putting a # in front of it.
- Check that the modules loaded by PHP actually exist. It might throw a couple of alerts for missing php_sqli and php_pdo. In the end, it might be a running wamp with Apache 2.0.50 and PHP 5.1.0