hello,
i have installed wamp, copied drupal files in the www directory, copried settings.php from my online website to wamp and copied my sql db, but i still get a "cant connect to db" error when i try browsing the local website

what other files should i copy in order to have a working backup of my online website on my pc?

Comments

nancydru’s picture

I always have to alter my settings.php when I copy it from a live site. Check it manually.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

drupalnesia’s picture

if you use 5.3 then edit your sites/all/default/settings.php according to your LOCAL WAMP:

93 $db_url = 'mysql://root:password@localhost/drupal5';
94 $db_prefix = '';

# 115 $base_url = 'http://www.example.com';

Enzman’s picture

Documentation update:

****************************************************
Drupal 6 Caution
Drupal 6 and PHP 5.3 will not work. If you must run an older version of PHP, please download an appropriate older version of Wampserver. You can find older versions of WAMP5 and WAMPSERVER2 on this page http://sourceforge.net/projects/wampserver/files/ . Just click on WAMP5 or WAMPSERVER2 for the complete file listings.

For example, Wampserver2.0h is running PHP 5.2.9-2 on a Windows Vista machine and Drupal 6 works fine.
****************************************************
Source = http://drupal.org/node/263

drupalnesia’s picture

Update: Drupal 6.14 officially supports PHP 5.3, but you must check if your contributed modules also ready for PHP 5.3

nancydru’s picture

Is there somewhere we can look for a checklist to find out if we're ready?

drupaloo-1’s picture

You could consider trying XAMPP:
http://www.apachefriends.org/en/xampp.html

I used it after initially trying/installing separate PHP, MySQL, etc and it works like a charm..

Good luck in whatever you choose...