How to set up a site and connect Dreamwever 8 to wamp
Posted by: chantal (---.as43234.net)
Date: November 11, 2008 01:00PM

First of all make sure your website files are in the WWW folder like this C:\wamp\www


1. In DW8 Click 'New site' then click the advanced tab.

2. In the category 'Local Info' enter your site name my id going to be 'newsite'

3. Then enter the local route folder C:\wamp\www\newsite\

4. Tick the refresh first list box

5. Enter your default images C:\wamp\www\newsite\images

6 Tick the 'links are relative to document' radio button

7. Enter your HTTP address which would be [localhost] site/

8. Click 'Enable cache' (leaving case sensitive links unticked).

9. In the Category under 'Local Info' click the 'Remote info'.

10. Click on the 'Access' dropdown and select 'Local/Network'

11. Enter your remote folder C:\wamp\www\newsite\

12. In the Category under 'Remote info' click 'Testing Server'

13. Select server model 'PHP MySql'

14. 'Access' Select Local/Network'

15. Your testing server folder should show C:\wamp\www\newsite\

16. Your URL prefix enter [localhost]

17. Then click 'OK'

Your website is set up.


Now to connect your website to your Database using DW8.
I'm assuming you have data in your database, other wise there are other tutorials showing you how to do that.

1. Make sure your wamp is on and all services are running so the icon should be white.

2. In DW8 open your index page.

3. Go to 'window >and click Database' (so its ticked). and it should show up on the right of your screen if its not there already.

4. under the Tab 'Databases' click on the +plus sign and select mysql connection

5. A box comes up, the first thing its asking for is 'connection name' I'm entering 'newsite'

6. Then it wants 'mysql server' we need to write 'localhost'

7. Then you need to enter your username for your database

8. Enter your password for you database.

9. Click the select button and another box will come up asking you to select which database you want to connect to, just select the one you want then click OK.

10. Then Click Ok in the other box.

12. Now you should be able to view your website in your browser. Open up a browser and type in [localhost]


And thats it. I hope I Helped.

Options: ReplyQuote
Re: How to set up a site and connect Dreamwever 8 to wamp
Posted by: yfastud (Moderator)
Date: November 11, 2008 06:05PM


Options: ReplyQuote
Re: How to set up a site and connect Dreamwever 8 to wamp
Posted by: KFP1977 (80.208.66.---)
Date: August 17, 2023 10:47PM

Hi and thanks for the guide.

However when i try to connect MySql i get this error:

Your PHP server doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions.


I hope someone can help...


Thanks.

Options: ReplyQuote
Re: How to set up a site and connect Dreamwever 8 to wamp
Posted by: Otomatic (Moderator)
Date: August 18, 2023 08:54AM

Hi,

You're responding to a message that's fifteen years old!

> doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions.

mysql extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi extension should be used.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: How to set up a site and connect Dreamwever 8 to wamp
Posted by: KFP1977 (80.208.66.---)
Date: August 18, 2023 03:34PM

Hi,

Yes i know it's an old message sorry.

Thanks for the reply, then how do i get it to work in DW8 or do i have to downgrade my WANMP to PHP 7.0.0. or under that???

Have a nice day.

Newbe

Options: ReplyQuote
Re: How to set up a site and connect Dreamwever 8 to wamp
Posted by: Otomatic (Moderator)
Date: August 18, 2023 05:41PM

Hi,

Dreamviewer 8 dates back to September 2005!

You need to use the mysqli extension instead of mysql.

Alternatively, you can install the PHP 5.6.40 addon on Wampserver and then switch to this version.


But using software tools that are more than fifteen years old is not a good solution.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.