• Like
  • Save
Installation of Drupal on Windows XP with XAMPP
Upcoming SlideShare
Loading in...5
×
 

Installation of Drupal on Windows XP with XAMPP

on

  • 62,066 views

This presentation demonstrates the installation of Drupal on Windows XP using the XAMPP web server.

This presentation demonstrates the installation of Drupal on Windows XP using the XAMPP web server.

Statistics

Views

Total Views
62,066
Views on SlideShare
61,510
Embed Views
556

Actions

Likes
15
Downloads
1,365
Comments
24

11 Embeds 556

http://www.slideshare.net 421
http://arulmurugant.blogspot.com 69
http://arulmurugant.blogspot.in 22
http://gtconsultants.org 17
http://www.botskool.com 14
http://translate.googleusercontent.com 6
http://localhost 2
http://lislog.blogspot.com 2
http://static.slidesharecdn.com 1
http://arulmurugant.blogspot.ru 1
https://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

110 of 24 Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Thanks. It works :)
    Are you sure you want to
    Your message goes here
    Processing…
  • Dear Neha,

    try http://localhost/drupal/install.php.
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi Rupesh

    I have made changes in setting.php file but after this i am getting error in the next step which is to open link:http://localhost/drupal

    Warning: Table 'drupal.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'knqvtf7anljd8h7jp7c1avmoj6' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.variable' doesn't exist query: SELECT * FROM variable in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Notice: Undefined variable: variables in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 557

    Warning: Table 'drupal.cache' doesn't exist query: UPDATE cache SET data = '', created = 1323174482, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Notice: Undefined variable: variables in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 564

    Warning: Table 'drupal.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Fatal error: Call to undefined function filter_xss() in C:\xampp\htdocs\drupal\includes\common.inc on line 655

    Warning: Table 'drupal.sessions' doesn't exist query: UPDATE sessions SET uid = 0, cache = 0, hostname = '127.0.0.1', session = '', timestamp = 1323174482 WHERE sid = 'knqvtf7anljd8h7jp7c1avmoj6' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Please suggest how to solve this.

    Thanks
    Are you sure you want to
    Your message goes here
    Processing…
  • Thanks for the presentation... was able to successfully install both xampp and drupal
    Just 2 issues that i faced during installation.
    1. when extracting the xampp-win32-1.7.4-VC6.7z, it did not create the log folder under c:\xampp\apache. Due to which the apache server would not start. After manually creating the folder was able to start the server
    2. During Drupal installation, at the end i got a fatal error - time out 115 . The error can be resolved by modifying the setting.php. Insert under php setting the following entry
    ini_set(’max_execution_time’,0);

    To redo the drupal installation, i dropped and recreated the drupal database by using the http://localhost/xampp/ - phpMyAdmin.

    Thanks for the instructions...
    Are you sure you want to
    Your message goes here
    Processing…
  • i got as far as slide 31, then was presented with a screen saying:

    Drupal already installed

    •To start over, you must empty your existing database.
    •To install to a different database, edit the appropriate settings.php file in the sites folder.
    •To upgrade an existing installation, proceed to the update script.
    •View your existing site.



    any ideas what I might have done wrong?
    Are you sure you want to
    Your message goes here
    Processing…

110 of 24

Post Comment
Edit your comment

    Installation of Drupal on Windows XP with XAMPP Installation of Drupal on Windows XP with XAMPP Presentation Transcript

    • Installation of Drupal with XAMPP on Windows XP Rupesh Kumar A [email_address]
    • Drupal
      • An open source web based content management system.
      • Equipped with powerful blend of features.
      • Supports a variety of websites ranging from personal blogs to large community-driven websites.
    • XAMPP
      • XAMPP is a bundle of Apache, MySQL, PHP, FileZilla and many other utilities. XAMPP is the ‘easiest’ way to test an AMP (Apache-MySQL-PHP) application.
      • NOTE: XAMPP is only intended for use as a local test server which is available on your own computer. It has been created for ease-of-use, but not for production level security.
    • Files Required for Installation
      • XAMPP
      • Drupal
    • Download Locations
      • XAMPP – www.apachefriends.org/en/xampp-windows.html
      • Drupal – http://www.drupal.org
    • Steps in Installation
      • Extract XAMPP files.
      • Setup XAMPP.
      • Run XAMPP Services (Apache and MySQL).
      • Create drupal database in MySQL.
      • Set password for MySQL.
      • Extract Drupal files.
      • Enter database and server settings.
      • Install Drupal Site and configure.
    • Install XAMPP
      • XAMPP may be installed in one of the following 3 ways:
        • Self-extracting zip archive
        • Windows MSI Installer
        • Source bundle
      • XAMPP Self-extracting zip archive has been used in this example.
    • Extract XAMPP to a drive
      • Double click the XAMPP self-extracting zip archive.
      • In the “Extract to:” column, type C: or click the button and select C: drive and click “Extract” button.
    • Open the Extracted Folder C:xampp
      • Run setup_xampp.bat to setup XAMPP.
    • Open XAMPP Control Panel
      • Double click xampp-control.exe to open XAMPP Control Panel Application.
    • Start Apache and MySQL Services
      • Click “Start” button next to Apache and MySQL.
    • Test XAMPP installation
      • Open Web browser and type http://localhost or http://127.0.0.1 in the address bar. The pre-built XAMPP page appears. Under “Sprachen” (Language) section, click on “English”
    • German Version
    • English Version
    • Create ‘drupal’ database
      • On XAMPP Page, click ‘PhpMyAdmin’ and create a new database ‘drupal’ with charcter set utf8 (unicode)
    • Click phpMyAdmin
    • Database name: drupal MySQL charset: UTF-8 Unicode Click “Create” button
    • New database ‘drupal’ created
      • Close phpMyAdmin.
    • Set password for MySQL
      • The default user ‘root’ does not have password. Set password for the user ‘root’. In this example, password is admin .
      • To set MySQL password, open Web browser, go to http://localhost/security , scroll down and click on http://localhost/security/xamppsecurity.php . This will open Security Console. Enter password for MySQL and click “Password Changing” button.
    • Password changed. Restart MySQL.
    • Restart MySQL in XAMPP Control Panel
      • Click “Stop” and “Start” button next to MySql.
    • Extract drupal files to C:xampphtdocs folder
    • Rename extracted folder to ‘drupal’ for simplicity
    • Drupal settings
      • Open ‘drupal’ folder, copy default.settings.php to the same folder and rename it to settings.php .
      • Open settings.php with Wordpad and enter db_url and base_url .
    • Copy default.settings.php and rename it to settings.php
    • Open settings.php and enter $db_url and $base_url Replace username by root , password by admin & databasename by drupal
    • $db_url = ‘mysql://root:admin@localhost/drupal’;
    • Now, scroll down and enter $base_url Replace http://www.example.com by http://localhost/drupal NOTE: Remove the # sign at the beginning of the line.
    • $base_url = ‘http://localhost/drupal’; Save and Close settings.php file.
    • Install ‘Drupal’ site
      • Open Web browser and enter http://localhost/drupal/install.php in the address bar
      • Step 1: Choose language. Click ‘Install Drupal in English’
      • Step 2: Verify requirements – drupal will check for required settings.
      • Step 3: Set up database – MySQL database has already been set up.
      • Step 4: Install Site – drupal will install the site.
      • Step 5: Configure Site – Drupal requires a few details for configuring the site. The following details are to be entered:
        • Site Information
        • Administrator Account
        • Server Settings
      • Enter the details and click “Save and Continue” button.
    • Site Information
    • Administrator Account
    • Server Settings
    • Drupal Installation Complete!
      • Drupal notifies about successful installation. Click on your new site to view your site
      The mail server configuration warning may be ignored, as this is a local installation.
    • New Drupal Site ( http:// localhost / drupal )
    • Let’s change Site Information
      • Go to Administer > Site Configuration > Site Information
      • Enter Site Information and click “Save Configuration” button.
    • Site Information
    • NOTES
      • Please enter necessary parameters in settings.php before running drupal installation script.
      • The settings.php should be writable, i.e., should not have ‘read only’ attribute. This is automatically taken care of by Windows when default.settings.php is copied as settings.php. In case the file is still read-only, right click on settings.php, go to Properties and uncheck the read-only attribute and click OK.
      • Drupal will set back this file to read-only after installation.
      • Set root password to MySQL.
      • Remember Drupal Administrator Account password. It is needed for logging in to Drupal every time.
    • Thanks To
      • Drupal Team
      • XAMPP Team
      Please send comments & suggestions to [email_address]