Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 13, 2011 09:38AM

procedure if anyone knows the professional way?

Registered: 11/21/2007 04:17AM



Edited 1 time(s). Last edit at 01/13/2011 09:45AM by EndlessEncounters.

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 13, 2011 09:44AM

do we just update it normally like install newer version and all settings will remain the same or is there more work out of this then that...

Thanks!

Registered: 11/21/2007 04:17AM

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: pingo (---.dynamic.t-2.net)
Date: January 14, 2011 01:46AM

I also upgraded from 2.0 to 2.1e and am finding it hard to figure out how the whole process works.

Wamp interface seems to have updated although it says v2.0, the thing that confueses me is that it wamp shows only one apache version -> 2.2.17 while actually 2.2.11 seems to be running.

How do I make it use the latest php,apache and mysql and remove the old ones? Right now it is using the old ones so basically I only got an updated wamp interface.



All I really want to do is to update php, mysql and apache, should I delete everything and install wamp from scratch instead upgrading? Also which config (.ini and .conf) are the ones I hsould be editing now?

Any help and all answers will be very appreciated!

Thanks in advance.

Regards, pingo.

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 14, 2011 02:27AM

That would be same question I had in mind BUT your saying after installing the newer wamp over the older wamp nothing upgraded to the newer version???

Another thing is I would also like to know is the VHOSTS the same as the model version i am using right now cause i cant afford too upgrade and loose much time as we speak cause i got 8 websites running and making me money LIVE!

CHEERS

Registered: 11/21/2007 04:17AM

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: January 14, 2011 07:56AM

Iv wrote to the devloper on this. Its a bug in his code. I dont think he payed much attention though.

The only way to get it properly installed is to uninstall 2.0i and and install 2.1e

make sure your getting E (french forum or sourceforge) not A as on the download page which still hasnt had the link changed.


You will need to dump the databases into SQL format and save your www folder along with other changes you made.


----------------------------------------
The bug relates to an innosetup parameter called "onlyifdoesntexist;"

both WampServer2.0 and 2.1 have had this enabled which when installing wamp over wamp , does not replace the files as the names are the same.
This leads to any updates of the menu etc, not updated.

What needs to be used is a file version checking parameter to check the version of the files and replace if newer , Simple
-------------------------------------------


However you will still get the newer versions of Apache Mysql and PHP installed which just need to be enabled using the tray menu> left click> apache> version>new version etc

If your only looking for new versions of Apache , MySQL and PHP head over to my site and download the addons

[pampserver.com]

The latest I have is

Apache 2.2.17
PHP 5.3.4
Mysql 5.1.4

I will have PHP 5.3.5 and Mysql5.5.8 made during the weekend.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 2 time(s). Last edit at 01/14/2011 08:03AM by stevenmartin99.

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: pingo (---.dynamic.t-2.net)
Date: January 14, 2011 08:42AM

I think I'l completely remove wamp and do a fresh install, the main question here I think is which configs do I have to backup? Which of so many php.ini's and which httpd.conf ?

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 14, 2011 08:48PM

let me know if it is successfull update please winking smiley

Registered: 11/21/2007 04:17AM

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: egirard (---.dllstx01.corexchange.com)
Date: January 15, 2011 12:24AM

I just wanted to point out that I created a thread duplicate to this one titled "Upgrading WampServer2.0i to WampServer2.1e-x32 Procedure" at [forum.wampserver.com].

...Just in case we happen to get an answer to our collective dilemma.


It's obvious that the developers failed to provide a proper explanation to the upgrade path for WAMP - so these threads will continue.

Also, based on other posts here lately, I don't think this release was fully tested, either. The user community will be the beta testers.

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: pingo (---.dynamic.t-2.net)
Date: January 15, 2011 09:07PM

Ok I did a full reinstall now.

What I did was:
-1) Export every database from mysql through phpmyadmin export database as sql file (shown on youtube) and write down all usernames and passwords that my websites use to access these databases.
0) Full backup of C:\wamp folder (with www folder inside) I decided to just copy it to D:\wamp
1) Uninstall current WAMP with add/remove programs in control panel
2) In C:\wamp there were some folders left (www among them). I deleted C:\wamp
3) Installed Wamp 2.1 to C:\wamp
4) Deleted C:\wamp\www and moved www backup from D:\wamp\www to C:\wamp\www

At this point I needed to restore only few options in php.ini and httpd.conf (+ include vhosts)

5) So I opened C:\wamp\bin\apache\Apache2.2.17\bin\php.ini and D:\wamp\bin\apache\Apache2.2.11\bin\php.ini in Notepad++ and used the compare feature to see the differences.
6) Opened D:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf and C:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf and did the same (basically in the new conf I just changed ServerAdmin, ServerName and uncommented "Include conf/extra/httpd-vhosts.conf" because I need those)
7) Same procedure for D:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf and C:\wamp\bin\apache\Apache2.2.17\conf\extra\httpd-vhosts.conf

What was left was to import databases:
9) Created every database manually and imported tables, structure, data with from the exported sql file
10) Created appropriate users for every database with same name and password as before.


That's it. I described everything I needed to do, maybe someone finds it helpful, it's not difficult at all and of course you can skip some steps depending on your needs.

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 15, 2011 10:24PM

pingo

Thanks for the in depth explaination as I will be following your procedure since I myself have many databses for different domains so this will help me in my upgrade fully!

I will do this over the weekend and get back on here to report my upgarde.

Registered: 11/21/2007 04:17AM

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: EndlessEncounters (---.acanac.net)
Date: January 16, 2011 08:34AM

pingo

Thank You so much for your tutorial....

It worked and now I am also upgraded with the newest wamp and everything is working smooth! winking smiley

Registered: 11/21/2007 04:17AM

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: yfastud (Moderator)
Date: January 18, 2011 02:17AM

Quote

-1) Export every database from mysql through phpmyadmin export database as sql file (shown on youtube) and write down all usernames and passwords that my websites use to access these databases.
0) Full backup of C:\wamp folder (with www folder inside) I decided to just copy it to D:\wamp
...
7) Same procedure for D:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf and C:\wamp\bin\apache\Apache2.2.17\conf\extra\httpd-vhosts.conf
...
What was left was to import databases:
9) Created every database manually and imported tables, structure, data with from the exported sql file
10) Created appropriate users for every database with same name and password as before.
I kept thinking about posting the steps but...

Anyway, you guys can do it much faster and less hassle, ie. avoid those steps quoted above, if planning right from beginning, ie. setup Backup right after installed Wampserver successful

To setup Backup, follow this
[blog.jlbn.net]

To restore from corruption, just simply sync from backup location. To restore from upgrade, follow these steps:
1. Sync wamp folder to backup location before doing anything
2. Backup user privileges and save as sql file
3. Uninstall wamp, remove wamp folder, restart PC
4. Install new wamp
5. Sync from backup location to update these: folder www except file index.php, folder data in new mysql folder except folder mysql, file httpd-vhosts.conf
6. Restore backup user_privileges.sql and since this is a backup file, it will auto assign specific users and passwords and privileges to associated databases...
7. Through wamp tray icon, enable Apache modules and/or PHP extensions. If dont remember, compare old and new file httpd.conf and php.ini. Also enable httpd-vhosts.conf in file httpd.conf

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Updating 2.0-i to 2.1e
Posted by: Misaligned (71.94.33.---)
Date: June 14, 2011 03:28AM

pingo,

Thank you so much for your post. This was a tremendous help.

Options: ReplyQuote


Sorry, only registered users may post in this forum.