Home > Rillsoft > How to install RIS (Win 7)

How to install RIS (Win 7)

Install the MySQL 5.1

  1. Download the MySQL Win32 installer to the Desktop: ftp://ftp.fu-berlin.de/unix/databases/mysql/Downloads/MySQL-5.1/mysql-essential-5.1.54-win32.msi
  2. Run the MySQL installer. (double-click on the icon).
  3. A warning “The publisher could not be verified” will appear. Click “Run” to start the MySQL installer.
  4. On the “Welcome to the Setup Wizard for MySQL Server 5.1″ screen, click “Next”.
  5. On the next window, click the radio button “Typical”, and then click “Next”.
  6. Click “Install”. (Be patient, this can take up to several minutes).
  7. Click “Next”.
  8. Click “Next”.
  9. Make sure “Configure the MySQL Server now” is checked and click “Finish”.
  10. On the “Welcome to the MySQL Instance Configuration Wizard″ screen, click “Next”.
  11. On the next window, click the radio button “Standard Configuration”, and then click “Next”.
  12. Check “Install As Windows Service”, set the Service Name to “MySQL”, and check “Launch the MySQL Server automatically”. Make sure that the “Include Bin Directory in Windows Path” is NOT checked. Click “Next”.
  13. On the next screen, check the box that says “Modify Security Settings”. Enter a password for the default “root” account, and confirm the password in the box below. Do NOT check the boxes “Enable root access from remote machines” or “Create An Anonymous Account”. Click “Next”.
  14. Click “Execute”. (This may take a few minutes. Be patient).
  15. Click “Finish”.

Create RIS database (MySQL)

  1. Go to: Start > All Programs > MySQL > MySQL Server 5.1 > MySQL Command Line Client.
  2. It will ask you for a password. Enter the password you created in step 14 Install the MySQL 5.1. (If you enter an incorrect password MySQL will automatically close the command line)
  3. Next, type in the commands shown below:
    CREATE DATABASE ris CHARACTER SET utf8 COLLATE utf8_general_ci;
    CREATE USER 'ris'@'localhost' IDENTIFIED BY 'myPassword';
    GRANT ALL ON ris.* TO 'ris'@'localhost';


Install the Apache 2.2 webserver

  1. Download the Apache Win32 installer to the Desktop: http://apache.prosite.de/httpd/binaries/win32/httpd-2.2.17-win32-x86-openssl-0.9.8o.msi
  2. Run the Apache installer (double-click on the icon)
  3. A warning “The publisher could not be verified” will appear. Click “Run” to start the Apache installer.
  4. On the “Welcome to the Installation Wizard for Apache HTTP Server 2.2.4″ screen, click “Next”
  5. Accept the terms and conditions (Apache License) , and click “Next”.
  6. On the “Read This first” screen, click “Next”
  7. On the “Server Information” screen, make sure the Network Domain, Server Name and Administrator’s Email Address are valid/correct. Install Apache for all users, on Port 80, as a Service. Click “Next”.
  8. On the Setup Type screen, choose “Typical”, and click “Next”.
  9. Install dir: C:\Program Files\Apache Software Foundation\Apache2.2
  10. Click “Next”.
  11. Click “Install” (This may take a few minutes. Be patient).
  12. Click “Finish” to close the Apache installation Wizard.
  13. Test the Apache installation by entering http://localhost/. A successful installation will display a page containing “It Works!”).


Install PHP 5.3

  1. Download the PHP Win32 installer to the Desktop: http://windows.php.net/downloads/releases/php-5.3.6-Win32-VC9-x86.msi
  2. Run the installer (php-5.3.6-win32-installer) (double-click on the icon)
  3. A warning “The publisher could not be verified” will appear. Click “Run” to start the PHP installer.
  4. On the “Welcome to the PHP 5.3.6 Setup Wizard” screen, click “Next”
  5. Accept the PHP License and click “Next”
  6. Choose the default value for installing PHP: C:\Program Files\PHP and click “Next”
  7. In the “Web Server Setup” screen, choose “Apache 2.2.x Module” and click “Next”
  8. In the “Apache Configuration Directory” screen, click on “Browse” and browse to C:\Program Files\Apache Software Foundation\Apache2.2\conf for the Apache Configuration Directory. Click “Next”.
  9. On the “Choose Items To Install” screen, accept the default selection and click “Next”.
  10. Click “Install” to start the installation of PHP.
  11. Click “Finish” to close the PHP installation Wizard.
  12. In order to read the PHP settings, restart the Apache webserver: locate the Apache icon in the right of the task bar (a red feather and a white dot), left-click on it, follow “Apache 2″ and choose “Restart”.
  13. Test the PHP installation
    • Create a text file named info.php in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs and write the following PHP code in it:
            		<?php phpinfo(); ?>
    • Save this file, and browse to http://localhost/info.php. If you see a lengthy web page showing the status of the PHP installation (PHP Version 5.3.6), the Apache/PHP installation was successful.

Configure PHP

  1. Open the PHP configuration file: C:\Program Files\PHP\php.ini
  2. Check the following configuration parameters:
    upload_max_filesize = 200M
    memory_limit = 1024M
    max_execution_time = 300
    max_input_time = 600

Install the RIS

  1. Download the RIS to the Desktop:
  2. Extract zip files to C:/htdocs/ris.

RIS Database configuration

  1. Open the databases configuration file: C:\htdocs\ris\config\databases.yml
  2. Make sure to change host, dbname, username and password to match your account.
          classname:  DebugPDO
            realmemoryusage: true
              time:       { enabled: true }
              slow:       { enabled: true, threshold: 0.1 }
              mem:        { enabled: true }
              mempeak:    { enabled: true }
              method:     { enabled: true }
              memdelta:   { enabled: true }
              querycount: { enabled: true }
          classname: DebugPDO
        class: sfPropelDatabase
          classname: PropelPDO
          dsn: 'mysql:host=localhost;dbname=ris'
          username: myUser
          password: myPassword
          encoding: utf8
          persistent: true
          pooling: true
  3. Open the propel configuration file: C:\htdocs\ris\config\propel.ini
  4. Make sure to change host, dbname, user and password to match your account.
    propel.targetPackage       = lib.model
    propel.packageObjectModel  = true
    propel.project             = ris
    propel.database            = mysql
    propel.database.driver     = mysql
    propel.database.createUrl  = ${propel.database.url}
    propel.database.url        = mysql:host=localhost;dbname=ris
    propel.database.user       = myUser
    propel.database.password   = myPassword
    propel.database.encoding   = utf8
  5. RIS Configuration for Swift Mailer

    1. Open the factories configuration file: C:\htdocs\ris\apps\frontend\config\factories.yml
    2. Make sure to change host, port, username and password to match your account.
          class: sfMailer
            logging:            %SF_LOGGING_ENABLED%
            charset:            %SF_CHARSET%
            delivery_strategy:  realtime
              class:            Swift_SmtpTransport
                host:           mySmtpHost
                port:           mySmtpPort
                encryption:     ssl
                username:       mySmtpUser
                password:       mySmtpPassword


    RIS Initialize database

    Run the following symfony tasks:

    C:\Users\Administrator>cd C:\htdocs\ris
    C:\htdocs\ris>php symfony cc
    C:\htdocs\ris>php symfony propel:insert-sql --no-confirmation
    C:\htdocs\ris>php symfony propel:data-load --trace --env=dev --application=frontend

    Configure Apache

    1. Open the Apache configuration file: C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
    2. #DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    3. DocumentRoot "C:/htdocs/ris/web"
      DirectoryIndex index.php
      <Directory "C:/htdocs/ris/web">
      	Options +FollowSymLinks -Indexes
      	AllowOverride All
      	Order Deny,Allow
      Alias /sf "C:/htdocs/ris/lib/vendor/symfony/data/web/sf
      <Directory "C:/htdocs/ris/lib/vendor/symfony/data/web/sf">
         AllowOverride All
         Allow from All

    Ports 80, 443 freigeben


    RIS Floating License modul installation

    1. Download the RIS Floating License modul(Win 32 Bit, PHP 5.3.6 VC9 x86 Thread Safe) to the Desktop: http://www.rillsoft.com/download/src/win32/PHP_5.3.6/VC9/x86/php_ris.dll
    2. Copy php_ris.dll to C:\Program Files\PHP\ext\
    3. Open the PHP configuration file: C:\Program Files\PHP\php.ini
    4. Add the following configuration parameters:
    5. Test the RIS Floating License modul
      C:\Users\Administrator>php -m

Categories: Rillsoft Tags:
  1. No comments yet.
  1. No trackbacks yet.