Install Drupal on a shared host

Some cPanel hosting environments like Hostgator have locked down there servers to osuch an extent that sensible software like Drupal doesn’t install out of the box. It is however relatively simple to get your account an dhosting environment set up so that the install goes through trouble free.

Firstly create a file named “php.ini” in the public_html directory

Add the following line ot this file

register_globals = 0

If you have issue try “php_flag register_globals off” – I have had some setups that preffered this (I havn’tworked out why yet)

Create a file called .htaccess in the public_html directory

Add the following line to this file

suPHP_ConfigPath /home/-- YOUR USERNAME--/public_html

Follow the directions to install Drupal and you should have no issues.

One thing I noticed was that it asks you to delete (or rename) public_html/sites/default/default.settings.php don’t rename this file just vcreate the required file /public_html/sites/default/settings.php

Have fun with Drupal – it is fast emerging as the CMS of choice for alot of web developers

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

No related posts.

Tags:

Leave a Reply