[development] Moving working Drupal environment to another web-hosting server
kb at 2bits.com
Mon Nov 15 00:52:58 UTC 2010
I agree with everything Larry and others said here.
One more thing to check after you copied the files to the new server is
ownership and permissions.
You want the files to be readable for the user that the web server runs
under (www-data or nobody on most VPS or dedicated servers). Preferably,
they would be owned by someone else, to make things more secure (web server
can't write to modules for example).
You also want the sites/*/files to be the only writable directory in Drupal
for the web server user.
Having permissions or ownership messed up can cause you some mysterious
errors until you get them fixed.
If your server runs under suexec or some other scheme, you have to make the
owner for everything be the current user.
Khalid M. Baheyeldin
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development