By Vayira on
I've just realised that I need to update the drupal core & 2 modules.
Presumably to update the modules I just replace them & then hit the update.php button. Am I likely to loose any configurations?
I can't find any instructions about updating the core. Do I just replace all drupal files?
Comments
Fairly straightforward
Module updates are simple. Delete the old folder in sites/all/modules/ and put in the new one, then run update.php.
For the core, what I have done, and someone should correct me if I'm wrong about this, is to replace all the files. The beauty of drupal is that if all your content is located in the sites/ directory, this is the only thing you need to keep. The file sites/default/settings.php contains what you need to reconnect to the database. There may be a few other little things you'll need to do. For instance, with the Image Magick module, it requires you to put the file image.imagemagick.inc in the /includes directory. But the file stays in the sites/all/modules/image/ folder, so you just have to move that over.. and it tells you on the status report page that you need to do this.