Help with getting started in XAMPP please???

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help with getting started in XAMPP please???

Postby Graham » 20. January 2007 06:56

Sorry for what must be a very basic set of questions but I have no idea where to begin......
I have installed XAMPP 1.5.5 and status shows that everything except SMTP and FTP are activated.
1.
I have an existing website which was setup using Dreaweaver8, do I need to copy (move?) the files from their present location into XAMPP to be able to view them via localhost?
2.
Can anyone advise how I setup the testing server settings in Dreamweaver8 to enable me to test pages without having to upload them to my remote hosting server?
3.
Do I need to reproduce all of my database from my remote server onto my local machine?

Sorry again if this seems to be extremely vague, but when you first start out with something new the problem is that you don't know what you don't know (if you know what I mean! :D )

I would really like to be able to get a handle on setting up and using XAMPP as a testing server to help me develop my site, so any help or suggestions would be very greatly appreciated!
thanks in advance for any help that you may be able to offer.
Graham
:oops:
Graham
 
Posts: 2
Joined: 20. January 2007 06:19
Location: Melbourne, Australia

Postby Izzy » 20. January 2007 09:06

1.
You can use the xampp\apache\conf\extra\httpd-vhosts.conf file to set up your test site
or you can move the site to the xampp\htdocs\yoursitename\ directory.
(a forum search for vhosts may give you some clues as to how to set this up, read the httpd-vhosts.conf file comments and there is some good reading on the Apache manual site:

http://httpd.apache.org/docs/2.2/vhosts/examples.html
http://httpd.apache.org/docs/2.2/mod/co ... irtualhost

Post back if you need more specifics after having a go or if you get stuck with it.

The htdocs\yoursitename\ method would mean an address of http://localhost/yoursitename/ but the virtual host method coupled with an entry in the system hosts file would mean you could use an address of http://yoursitename/ - more complex to set up but easier to relate to your hosted site's paths and does not require you to move your site's files from their current location.


2.
Testing server settings in DreamWeaver (I have MX 2004 still - 8 might be similar)

Under Edit>Preferences...>Site>Manage Sites...
Highlight yoursitename
Select Edit...
Select Testing Server
Server model: PHP MySQL
Access: Local/Network
Testing server folder: Path:\xampp\htdocs\yoursitename\ <-- if using the htdocs method.
Testing server folder: PATH:\To your current site's folder\ <-- if using the vhosts method.
Your choice to tick or not the Refresh remote file list automatically.
URL Prefix: http://localhost/ <-- if using the htdocs method
URL Prefix: http://yoursitename/ <-- if using the vhosts method


3.
You can do a database dump (export) from your hosting server to your local XAMPP MySQL (import) using phpMyAdmin with very few issues.

Note your hosting MySQL version will not be as up-to-date as the XAMPP MySQL version.

So when you do the export and import bear this in mind and import using the correct version compatibility.

Most of this will be seem much clearer when you read the export/import facilities in phpMyAdmin.
Again post back with more specific issues if required.

Hope this helps a little.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Awesome, thanks Izzy!

Postby Graham » 20. January 2007 10:49

Thanks for taking the time for such an indepth reply, I really appreciate the effort that you have put in.
I will have a fiddle with what you suggest and get back to let you know how it goes.
Cheers,
Graham :D
Graham
 
Posts: 2
Joined: 20. January 2007 06:19
Location: Melbourne, Australia

Postby ellieod64 » 22. January 2007 03:23

Hi Graham and Izzy,

I just set up XAMPP tonight and at first, Filezilla was not activated. Turns out I had to install it as a "service" and then it worked fine.

Izzy, thanks for the whale info!

Ellie
ellieod64
 
Posts: 4
Joined: 21. January 2007 23:33


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests