Project

General

Profile

Actions

InstallingDrupal » History » Revision 5

« Previous | Revision 5/19 (diff) | Next »
Francisco Revilla, 11/20/2009 10:29 AM


How to set up Drupal and Eclipse for windows:

  1. I followed the guide http://drupal.org/getting-started/install and wrote here a resume

  2. Install apache

You should enable the mode_rewrite uncommenting the line "LoadModule rewrite_module modules/mod_rewrite.so" from the /your_apache/conf/httpd.conf file

  1. Install PHP
  • Include the Php directory into the path

  • The following configuration directives are needed at the php.ini file

<code class="c">
//if the directives do not already exist just add them
register_globals = off
session.save_habdler=user
safe_mode=off
[PHP_PDO]
;needed for drupal
extension=php_pdo.dll
[PHP_PDO_MYSQL]
extension=php_pdo_mysql.dll
  1. Install MySQL
  • I recommend to install the MySQL 4.1 version, because mysql5+ will be not supported in drupal 7

  • Login as a root an write the following commands:

  1. CREATE DATABASE databasename CHARACTER SET utf8 COLLATE utf8_bin; -> which create the database for drupal with UNICODE support

  2. GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';

where databasename and username will be the database and username used by drupal

  1. Drupal
  • Download Drupal from http://drupal.org/project/drupal

  • Copy the file sites/default/settings.php to sites/default/settings.php Copy the file and do not move it, because drupal need both files!!

  • Grant write permissions on the configuration file sites/default/settings.php

  • Move Drupal directory and subdirectories to your apache_server_path/htdocs , open the browser and follow the instructions to install drupal. Do not forget to use the "username" and "databasename" before created in order to fill out the boxes.

  • After drupal´s installation make sure that the configuration file sites/default/settings.php right are back to read-only.

Updated by Francisco Revilla almost 15 years ago · 5 revisions