strict warning: Only variables should be passed by reference in /sites/linuxpc.info/httpdocs/modules/book/book.module on line 559.

Hosting provider requirements

  • Apache with rewrite module enabled
  • MySQL
  • PHP with safe mode OFF
  • the ability to use an .htaccess file in order to set certain rules and to increase certain limits. For example, you may want to increase the memory limit to >= 32M. When you need image processing with PHP, you may need even more.
  • enough bandwidth and space. This depends on the content you use (images, videos) and number of visitors expected.

Note that you can work around most of the safe mode issues by hacking the sources, but I would not recommend it. Also make sure your provider registers you as the owner of the domain name.

Some hosting providers require a small change in the .htaccess file which Drupal provides. Otherwise clean URL's won't work. Change the following line

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

into

RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

(insert a slash).

If you forget this after upgrading, and clean URL's are enabled, you may get an internal server error (500) when you access the admin pages.