CDM DataPortal Requirements

The sections below describe the system and software requirements for installing the drupal CDM DataPortal application. For detailed instructions, start with the official site.

Supported Operating Systems

  • Windows XP
  • Linux (debian)

Required Software

  • CDM Server
  • Apache Server (1.3 or 2.X)
    • You can use the Apache 'mod_rewrite' extension to allow for clean URLs
    • Configure Apache for the use of MySQL
    • Configure Apache fot the use of Php5
  • MySQL (4.1 or 5.X)
    • Create a drupal user
    • Create a new database for Drupal application
    • Give to the drupal user all the rights over the new drupal database
  • Php
    • Php 5.5 or higher

Configure the Required Software

  • Include the php directory in the path
  • Write hte following configuration directives
    //if the directives do not already exist just add them
    register_globals = off
    session.save_handler=user
    safe_mode=off
    extension_dir = "C:Programme\PHP\ext"
  • It might be nessecary to increase some of the following parameters (max_execution_time, memory_limit)
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    
    max_execution_time = 30     ; Maximum execution time of each script, in seconds
    max_input_time = 60	; Maximum amount of time each script may spend parsing request data
    ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
  • Enable the following estensions [windows systems]
    extension=php_curl.dll
    extension=php_gd2.dll
    extension=php_mbstring.dll
    extension=php_mcrypt.dll
    extension=php_mysql.dll
    extension=php_sockets.dll
    
  • Copy libmysql from the php installation root to {Apache2}/bin [windows systems]
  • Add the following lines to your Apache httpd.conf and change them according to your individual condition [windows systems]
    #
    # PHP 5 configuration
    #
    LoadModule php5_module "c:/Programme/PHP/php5apache2_2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "c:/Programme/PHP"
    

Hardware Requirements

For the Drupal installation, at least 100MB of available disk space. For the Apache and MySQL Server platforms, an additional XXXMB is needed.