The pre-requisites are;
- Apache HTTP Server 1.3 or later
- MySQL 4.1 or later
- PHP 5.1.0 or later
If 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. See AMP stack
for Windows if you are using Windows or else if you are using Linux, 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.
Contents
AMP stack for Windows
Recommended AMP stack for Windows is EasyPHP. Download page; click EasyPHP
1.8
After downloading, install EasyPHP. It's a simple installation. After
installation you will have to start EasyPHP manually everytime before you
use it. Goto the start meny and EasyPHP program group and click on
EasyPHP. This would open a console showing the status of
Apache/MySQL.(after starting EasyPHP, this console can be activated by
double clciking on EasyPHP icon in the taskbar) Please remember the
location you installed EasyPHP. It will be required later.
Notice:
- If you use any firewall software(ie; Windows Firewall) please make
sure that EasyPHP is exempted from the blocked list
- If you use Skype, this may result in a port conflict with Apa che
web-server included in EasyPHP when you start EasyPHP. Therefore make
sure you start EasyPHP before you start Skype (then Skype will go for an
alternate port).
- EasyPHP by default has limited the its Webserver usage to the local
machine where it is installed. This means that OrangeHRM deployed on EasyPHP will not be accessible
remotely until the 'Listen' directive in 'httpd.conf' is altered. To do
this open 'httpd.conf' by right clicking on EasyPHP icon in taskbar go
in to sub menus configuration -> Apache and click on it. This would
open the 'httpd.conf', now search for Listen
127.0.0.1:80. And now alter it such that it reads as Listen *:80, save and close the file and restart apache
using the EasyPHP taskbar icon and clicking on Restart.
AMP stack for Linux
Recommended AMP stack for Linux is XAMPP Linux 1.5.3a
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 o r given in the XAMPP site.
Notes
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.
Ex. /usr/xamp/orangehrm/
$ chown -R nobody.nobody <orangehrm>
Please remember the location you installed XAMPP. It will be required
later. |