Everything is already configured. Start apache, and then start MySQL. You can now access localhost at:
[
localhost]
You save all your php, html, css, images, and other website files in this folder:
C:\wamp\www
Now start DreamWeaver, on the top menu bar, click on
Site, then scroll down and select
Manage Sites. A little dialog box will open up. Click on the
New button, and a small box will open up below the button, and click on
Site.
Here is where you enter your local info so DreamWeaver knows how to access your local WAMP webserer. You will now see an area where you enter
Site Definitions. Click on the
Advanced tab at the top of the Site Definitions dialog box.
Now, under the Local Info settings, use:
Site NameThis sets a name for your site. This can be anything. I use localhost. Since you are using WAMP locally, you should use localhost too. Also, I recommend you set this to localhost I use this setting to describe how to use another setting further on in this little tutorial.
Local Root FolderThis will be the location of your www folder, so set it to this:
c:\wamp\www
Refresh local files list automaticallyKeep this setting checked
Default images folderYou can leave this blank, if you decided to put an images folder in your www folder, then use:
c:\wamp\www\images
Links relative toMake sure this is set to Document
HTTP addressSet this to:
[
localhost]
Case-sensitive linksMake sure you check this box. It will make DreamWeaver use case sensitive links. if you are ever going to upload your website to a linux based webhost, linux is case sensative, so it is good to use case sensitive links.
Enable cacheKeep this setting checked, it makes DreamWeaver faster and work more efficiently.
Now, in the menu to the left, select
Testing ServerSever ModelScroll down and select
PHP MYSQL.
AccessSince you are working locally, scroll down and select
Local/NetworkTesting server folderAfter you select Local/Network for the Access setting, this option will appear. Do not change it.
Refresh testing file list automaticallyMake sure this box is checked.
Now, in the menu on the left, select
CloakingEnable cloakingMake sure you uncheck this setting
Now, in the menu in the left, select
Site Map LayoutHome pageChange to this:
c:\WAMP\www\index.php
You are now done, click on the
OK button at the bottom of the
Site Definition dialog box. Your site now added into DreamWeaver.
Now, make sure the
Files panel is set to be displayed in the main DreamWeaver window. From the top menu bar, click on
Window and then scroll down about half way, and make sure there is a check mark next to
Files. If not, select it to put the check mark there.
Now, select the
Files panel. It is the panel in your main DreamWeaver window with an upside down triangle next to it.
After you select the
Files panel, right at the top of the panel you will see two select boxes. Click on the first select box on the left side, and the scroll down and select
localhost. Or if you used a different name in the
Site Name setting, select the one you used.
Now your files will be displayed in the
Files dialog box. This is where you can open up files to edit or create new sites for you site. All the files you add here will put into your www folder by DreamWeaver.
Post Edited (08-07-06 10:45)
CyberSpatium----------------------WAMP Forum Admin
Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.