I have a windows 2003 enterprise server. I would like to know what needs to be done to install drupal on this server. I use the plesk administration program, so I would like to keep it manageable in there. I need this for myself and one of my customers. I would like to use MySQL also.

Comments

I dont really know what you are asking?

Install MySQL, Apache with PHP, and drupal.

Read the plesk manuals because I've never heard of it.

Is this beyond you? Can you give us more precise details of what you dont know how to do?

Sorry for being unclear. I do know how to install drupal on linux, but I do not know how to install drupal on windows. I tried installing drupal on windows, but I was unable to. I pretty much need a guide to tell me what to do. I know how to create MySQL databases, however passed that with my server and drupal, I'm lost.

Any easy way to do this?

Do you have mysql, apache, and php installed? If not check out php triad for windows on sourceforge. If you already do, then please be more specific.

Here's my server info. Also, I have MySQL 4.1 (i believe that's the version)

Apache/2.0.52 (Win32) mod_ssl/2.0.46 OpenSSL/0.9.7b PHP/4.3.4 Server at YourNexus.Com

FWIW, these are the instructions I have documented for setting up Drupal on Windows XP. Some of these options may be more suitable for a development environment than a production machine.

NB: when running commands or editing files, I have placed the type of action to perform in [square brackets]. Normally the context should be self-explanatory -- for example [find] means to find the line with the indicated text and [change to] indicates that you should modify the previously found text as shown.

(1) Download IndigoPerl 2005 or another web package with Apache and PHP. You can get the latest version of IndigoPerl from here: http://www.indigostar.com/indigoperl.htm.
(2) To install IndigoPerl, just extract the ZIP file to C:\IndigoPerl and run setup.bat. You should be able to accept all defaults.
(3) Edit the PHP configuration file (should be in C:\IndigoPerl\apache\php\php.ini) and make the following changes:

[find]
display_errors = on
[change to]
display_errors = off
[find]
log_errors = off
[change to]
log_errors = on
[find]
;html_errors = off
[change to]
html_errors = off
[find]
;error_log = filename
[change to]
error_log = C:\IndigoPerl\logs\php-errors.log
[find]
SMTP = localhost
[change to]
; host to use when sending mail -- for a local install, use your ISP's mail server, eg:
SMTP = smtp.host.com
[find]
sendmail_from = me@localhost
[change to]
; From e-mail address to use for all outgoing email sent by the PHP mail function
sendmail_from = webmaster@host.com

(4) Download Drupal 4.6.5 from http://drupal.org.
Extract .tar.gz file into Apache /htdocs directory. You may need a program like
7-Zip (www.7-zip.org) to extract these files.
(OPTIONAL: You can download additional Drupal modules from http://drupal.org/project/Modules.)

(5) Download MySQL 4.1 Essentials from http://dev.mysql.com/downloads/mysql/4.1.html#Windows. Double-click .msi file to install. Select (*) Typical install, and follow the prompts.

(6) Once setup is complete, the Server Instance Configuration Wizard will start. Select the following:
Next -> (*) Detailed Configuration -> Next
Select (*) Developer Machine for testing; (*) Server Machine for production -> Next
(*) Non-Transactional Database only -> Next
(*) Online Transaction Processing (OLTP) -> Next
[ ] Enable TCP/IP Networking -> Next
(*) Best Support for Multilingualism -> Next
[X] Install as Windows Service [MySQL]
[X] Launch Automatically -> Next
[X] Modify Security Settings
Root password: sqlpwd

(7) To initialise the MySQL database for Drupal, start a command prompt. Type:

[cmd]
set PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 4.1\bin
mysqladmin -u root -p create drupal
[prompt]
Enter password: sqlpwd
[cmd]
mysql -u root -p
[prompt]
Enter password: sqlpwd
[mysql]
GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'drupalpwd';
flush privileges;
\q
[cmd]
c:
cd "\IndigoPerl\apache\htdocs\database"
mysql -u drupal -p drupal < database.mysql

This will take around 20 seconds to upload the default Drupal database.

(8) In the Drupal web directory (eg. /htdocs), edit the Drupal configuration file sites\default\settings.php using an editor compatible with Unix line-endings (eg. NoteTab Light).

Edit the $db_url line to match the database defined in the previous steps:

$db_url = "mysql://drupal:drupalpwd@localhost/drupal";

Set $base_url to match the address to your Drupal site (replace localhost with your hostname for a production server):

$base_url = "http://localhost";

(9) Ensure that index.php is set as the default page type in Apache. To do this, edit C:\IndigoPerl\apache\conf\httpd.conf:

[find]
DirectoryIndex index.html index.html.var
[change to]
DirectoryIndex index.php index.html.var

(10) Visit http://localhost/ and see if it works!

IMPORTANT: If an error message appears complaining that "client does not support authentication protocol", you need
to use an old password style, set in the MySQL admin command line by:

[mysql]
SET PASSWORD FOR drupal@localhost = OLD_PASSWORD('drupalpwd');
flush privileges;
\q

(11) Initial setup:

Click "create the first account"
Username: admin
E-mail: username@domain.com

A password will be displayed. You will be required to change it on first logon.

(12) Use Scheduled Tasks to run cron.php on Windows. If no other arrangement is possible, simply point your browser to http://localhost/cron.php on a regular basis. Loading cron.php also runs all maintenance tasks on your server.

Could you help me on the above Subject? (Drupal is a totally new subject/software for me. Windows is new for me too. I am basically an Unix person.)

I followed what is on http://drupal.org/getting-started/5/install/download. But I have problem to "Move the contents of that directory into a directory within your web server's document root or your public HTML directory", because I don't know What is
my PC "web server's document root" and its " public HTML directory.

After the above, should I "Create database with MySQL", following http://drupal.org/getting-started/5/install/create-database/mysql
?

Sincerely,

Joseph

  1. Login to the database manager in your webhosting control panel.
  2. Create a database for Drupal to use, if you don't already have one.
  3. Import the contents of database/database.mysql into your database.
  4. Configure: sites/default/settings.php
  5. Load up the site in your browser and complete the install process.

hello sir..
please tell me the steps to install drupal (drupal-6.15) on my machine,I have installed wamp server(apache, my sql, php) on my system.