Chapter 2. Installation

Table of Contents

2.1. Requirements
2.1.1. Server
2.1.2. Database
2.1.3. Internet browser
2.2. Preparations
2.2.1. Standard upload
2.2.2. Remote upload
2.2.3. Database creation
2.3. Installation
2.3.1. Stage 0 - Welcome to Drake CMS
2.3.2. Stage 1 - Check
2.3.3. Stage 2 - Configuration
2.3.4. Stage 3 - Finish
2.3.5. Troubleshooting

2.1. Requirements

Drake CMS doesn't require any specific hardware as it has been written in the popular interpreted language - PHP. The minimum system requirements are:

  • a web server with PHP4 (v4.3.3 or superior) or PHP5 support, with at least 10.5 MB of hard disk storage space for installation (additional 1.5 MB for user files is advised)

  • a database engine (or alternatively write access for SQLite or the embedded flatfile database Gladius DB)

  • a web browser

2.1.1. Server

If you're installing on your home or office computer (for local testing only), there are a number of packages (made of Apache server, MySQL database & PHP scripting language) for the various operating systems that you can use with Drake CMS. Most popular of them are listed in below table.

Table 2.1. AMP (Apache + MySQL + PHP) servers

NameOSDescriptionURL
Apache2triadWindowsApache2Triad spells instant and facile deployment of web software on any windows server along the lines of the WAMP paradigm in a point and click manner in just minutes and is a ideal solution for the setup of server farms.http://apache2triad.net
EasyPHPWindowsEasyPHP is a complete software package allowing to use all the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.http://www.easyphp.org/
FoxservWindows & LinuxFoxServ is an Apache / mySQL / PHP installer package for Windows and Linux. Unlike NuShpere or PHPTriad, FoxServ features the latest version of all included pacakges, user defined configuration during installation, PHP as a module, PEAR, and the Zend Opt.http://sourceforge.net/projects/foxserv/
MAMPMacintoshThe abbreviation MAMP stands for: Macintosh, Apache, Mysql and PHP. With just a few mouse-clicks, you can install Apache, PHP and MySQL for Mac OS X.http://www.mamp.info/en/index.php
OmniHTTPdWindowsOmniHTTPd is a powerful all-purpose industry compliant web server built specifically for the Windows 95/98/NT4 platform. In addition to Standard CGI support, the server sports advanced features such as Keep-Alive connections, table auto-indexing and server-side includes.http://www.omnicron.ca/httpd/index.html
phpdevWindowsphpdev is a pre configured suite of all the bits and pieces you need to get Apache/PHP/MySQL/other running on your machine.http://firepages.com.au
Uniform ServerWindowsThe Uniform Server is a WAMP package that allows you to run a server on any MS Windows OS based computer. It is small and mobile to download or move around and can also be used or setup as a production/live server.http://www.uniformserver.com
WAMPWindowsWAMP5 installs automatically Apache 1.3.31 ,PHP5, MySQL database, PHPmyadmin and SQLitemanager on your computer. It's principal aim is to allow you to easily discover the new version oh PHP: PHP5.http://www.wampserver.com/en
XAMPPmulti-OSXAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start. At the moment, XAMPP is available for four operating systems: Linux, Windows, Mac OS X and Solaris.http://www.apachefriends.org/en/xampp.html
XitamiWindows & LinuxXitami is a high-quality portable free web server. It will run on Windows NT, Windows 95, and Windows 3.x, all UNIX platforms, OS/2 and OpenVMS.http://www.xitami.com/


The longer and more detailed way is to install each of the components separately and configure them all, so they can work together.

Most Linux distributions already come up with a pre-configured LAMP (Linux, Apache, MySQL, PHP) server available for use as a part of the standard installation. Alternatively, it may be available as an add-on, again tailored to your particular flavour of Linux distro, from the project home page. Often the constituent components can be managed separately, instead of those installed as a "full package".

On remote (hosted or dedicated) webservers, the configuration and availability of these applications will depend on the host provider or the operating system that is installed on the webserver. The variation that can occur between providers and OS can be significant and is outside the scope of this documentation. If you encounter a server problem while using Drake CMS, please check the Drake CMS official forum (http://drakecms.sourceforge.net/forums/) to see if other users are also experiencing the same issue and what their solution was. If you still can't find any solution, you need to contact your host provider to request additional information about server configuration.

Drake CMS has been developed in order to use the most common PHP extensions so you don't need any specific additional extension in order to use it. XML support is granted through AnyXML (http://sf.net/projects/anyxml/), and will work on any PHP4/PHP5.

You can always check PHP version by including following function in your HTML/PHP file:

<?php phpversion(); ?>

Information about installed AMP package is available using function:

<?php $_SERVER["SERVER_SOFTWARE"]; ?>

2.1.2. Database

Drake CMS can run with just about any database system (see list below) thanks to adoDB lite (http://adodblite.sourceforge.net/) used as the database abstraction layer. adoDB lite supports a wide range of databases, but in order to keep the official Drake CMS package as small as possible, some of them are distributed separately. You can get additional database drivers directly from the adoDB lite package (http://sourceforge.net/project/showfiles.php?group_id=140982&package_id=154650) by manually copying the required files into the appropriate folder, or from the add-ons package of Drake CMS (http://sourceforge.net/project/showfiles.php?group_id=166901&package_id=189854).

  • Frontbase

  • Gladius DB

  • MaxDB

  • miniSQL

  • MSSQL

  • MSSQL Pro

  • MySQL

  • MySQLi

  • MySQLt

  • PostgresSQL

  • PostgresSQL64

  • PostgresSQL7

  • SqLite

  • Sybase

If you do not have a professional database system installed, for example MySQL, you can use SQLite (embedded in PHP5) or the embedded flatfile database, Gladius DB (if you have the necessary write permissions for the webserver user/process).

2.1.3. Internet browser

Drake CMS can be used with the most popular web browsers:

  • Firefox (any version)

  • Internet Explorer 6+

  • Opera (any version)

All of the third party software used in the Drake CMS core also support mentioned web browsers.