Ready to move Wamp localhost site to webserver, help
Posted by: domineaux (---.socal.res.rr.com)
Date: August 28, 2009 02:31AM

Ok, finally got my drupal site working great on localhost WAMP server.

Ready to move it now to webserver.

Need directions on how to do this.

WAMP site was installed inside a folder mydomain.com/folder1/

The mydomain.com/folder1/ is created on my webserver.

The MySql database name and user name will be the same on both webserver and Wamp localhost server.

This may be a no brainer, but I've learned to ask before I leap.

There has to be a document on this somewhere, since most devs use the localhost for pre-site development.

Options: ReplyQuote
Re: Ready to move Wamp localhost site to webserver, help
Posted by: toumimi (---.115.116-78.rev.gaoland.net)
Date: August 28, 2009 11:52AM

First, your host server should have phpMyAdmin to manage your databases online.
Export your database using local phpMyAdmin and import it with online tool.
Create a user (if you can) and give it needed access to the database.

Note that I usually create two users : one full rights (only on this database) and one which can read datas.

Then use a ftp client or anything else (must be precised by your host) to copy your project online.

Also check parameters you have modified on your computer in php.ini

Check your website and enjoy. winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Ready to move Wamp localhost site to webserver, help
Posted by: domineaux (---.socal.res.rr.com)
Date: August 28, 2009 03:26PM

Thanky you florian

People like you, who respond make the WAMP a first choice in my opinion for local server.

I've had some problems for sure, and always someone steps up on these forums with an answer.

Options: ReplyQuote
Re: Ready to move Wamp localhost site to webserver, help
Posted by: JEDs (---.stny.res.rr.com)
Date: May 30, 2010 05:15PM

Florian,

I have a few further questions, but regarding a wordpress install on WAMP localhost:

Can you explain further why to create 2 db users, please?

Second,I have 2 copies of php.ini in WAMP;

C:\wamp\bin\php\php5.3.0\php.ini

C:\wamp\bin\apache\Apache2.2.11\bin\php.ini

Which are you referring to? And (having made many changes over a long time period), would the correct copy be easily obtained from my original WAMP download? But further as neither of these files are in wordpress, is this something specific to Drupal, but not Wordpress? (and I would be importing the WP db files to my webserver, and uploading WP files, not php or Apache files)

[Apologies as I may really be confusing things now]

Finally, I have read elsewhere that you need to search and replace all files on [localhost] with [www.yoursite.com]. The original poster above has eliminated this i believe by installing into localhost of the identical name that he will use on his webserver.

Is it really that simple, or is he using virtual host on WAMP?

To repeat the original poster's reply, thanks very much for helping us all.

-JEDs

Steve Warriner
[www.jedsweb.com]
Personalized Domain Web Hosting Service
Blog - Share.Learn.Create
[jedsweb.net]

Options: ReplyQuote


Sorry, only registered users may post in this forum.