The pre-requisites are;
- Apache HTTP Server 1.3 or later
- MySQL 5.0 or later
- PHP 5.1.0 or later
you already have Apache HTTP Webserver(and PHP loaded as an Apache
Module) and MySQL running, then you have everything you need.
In case you dont have the requisites setup, you have two options.
- Use an AMP stack which has Apache, MySQL and PHP pre-configured to work together.
AMP stack for Linux
- If you want you could configure Apache, MySQL and PHP on you own manually. You can refer the OrangeHRM FAQ on how to install/configure them.
Recommended AMP stack for Linux is XAMPP Linux 1.6
Notice: make sure you download complete stack(usually the biggest download out of the lot) and not the upgrades, developer packs, etc.
After downloading, install XAMPP Linux. Follow the instructions that comes with XAMPP Linux or given in the XAMPP site.
Note: you always have to manually start the stack, every time you reboot.
You will have to change the ownership of OrangeHRM files to nobody.nobody
Type the following in the shell. <orangehrm> is the path where the OrangeHRM files are located.
$ chown -R nobody.nobody <orangehrm>
Copy OrangeHRM-ver-2.2.zip into the document root of the Apache HTTP Server..
If you used XAMPP Linux AMP stack, document root is
<XAMPP Installed Location>/htdocs/
Extract OrangeHRM-ver-2.2.zip into the same folder, which would extract every thing into a directory called 'orangehrm2'.