开发者

Copying a fresh Drupal installation

开发者 https://www.devze.com 2023-01-11 09:24 出处:网络
I\'m working on a wamp development environment. I\'ve created a new database and used it to create a new drupal installation at wamp/www/drupalsite. This installation is unmodified and doesn\'t have a

I'm working on a wamp development environment. I've created a new database and used it to create a new drupal installation at wamp/www/drupalsite. This installation is unmodified and doesn't have any extra modules added to it.

What if I want to create an exact copy or this installation so I don't repeat the insta开发者_运维技巧llation process. My guess is I'd have to create a new fresh database and copy the /drupalsite/ folder to /drupalsite2/, but what other settings do I need to change to make this work perfectly as I had installed it from scratch?


The only other thing you need to change is the setting that points to the database. This can be found in sites/default/settings.php. Just do a search for $db_url and you'll find it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号