# Installing XOOPS

## First time installation

### Preface:

XOOPS is an open-source Object-Oriented Web publishing system written in PHP. It is an ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more.

XOOPS is released under the terms of the GNU General Public License (GPL) and is free to use and modify. It is free to redistribute as long as you abide by the distribution terms of the GPL.

## Requirements

- WWW Server (Apache, IIS, Roxen, etc)
- PHP 5.2.0 or higher
- MySQL 5.1 or higher

## Before you install

1. Setup WWW server, PHP and database server properly.
2. Prepare a database for your XOOPS site.
3. Prepare user account and grant the user the access to the database.
4. Make the directory /uploads/ and the file mainfile.php writable
5. For security considerations, you are strongly advised to move the two directories /xoops_lib/ (for XOOPS libraries) and /xoops_data/ (for XOOPS data) out of document root and change the folder names.
6. Make the directory /xoops_data/ writable; Create (if not already present) and make the directories /xoops_data/configs/, /xoops_data/caches/, /xoops_data/caches/xoops_cache/, /xoops_data/caches/smarty_cache/ and /xoops_data/caches/smarty_compile/ writable.
7. Turn cookie and JavaScript of your browser on.

## Installing locally

If you are running a local environment for development or testing, make sure that you have the previous requirements met. Once this is done, copy the contents of the htdocs directory (from the XOOPS distribution file or SVN) to the root document path of your web environment. Once the files are copied there, you can start the install by typing "http://yoursite.com". This will start the install process.

## Installing on a hosted platform

If you are running in a hosted environment, unpack the XOOPS files locally or on the server if you have telnet or SSH access. Once you done this, make sure to move or copy all XOOPS files from the htdocs directory to your root web directory (your provider usually provides this location with directions). Once the files are copied there, you can start the install by typing "http://yoursite.com". This will start the install process.

## Continuing the install

Just follow step-by-step instructions in installer.