Technical Anshu Home › Tutorials › OrangeHRM Server Setup
🧑‍💼 Free HRM on Your Own Server

OrangeHRM Server Setup

Set up OrangeHRM Starter on your own office server: requirements, the web installer, the first admin login, employee records, leave setup and the security rules HR data deserves.

✍️ Technical Anshu🖥️ Windows (XAMPP) · Linux (LAMP)🎧 Multi-Language Audio
OrangeHRM Server Setup
🎧 Multi-Language Audio: In the video player, click [Settings] (⚙️) ➔ [Audio track] to select your preferred audio.

📑Chapters

  1. What OrangeHRM Starter is — and the web stack it needs underneath
  2. Route A: preparing the server with XAMPP on Windows
  3. Route B: preparing the server with a LAMP stack on Linux
  4. Creating the database and a dedicated database user
  5. Opening the web installer and passing the system check
  6. Database settings and creating the first admin account
  7. First admin login — company name and the first backup
  8. Adding employee records and giving staff their own logins
  9. Setting up leave: types, entitlements, apply and approve
  10. Security rules for HR data — access, HTTPS and backups

📋 Overview & Step-by-Step Guide

1

Check the Requirements First

OrangeHRM is a PHP web application, so the server underneath it needs a standard web stack: Apache as the web server, PHP, and MySQL or MariaDB as the database. The installer wizard itself takes minutes — preparing that stack is the real work.

The machine does not need to be powerful. A PC that stays switched on during office hours is honestly enough for a small team, but it should be a machine that stays in one place, is physically secure and gets backed up — not somebody's daily laptop.

📌 PHP version matters: OrangeHRM 5.x supports PHP 7.4 to 8.1. A brand-new PHP outside that range is the most common reason the installer refuses to proceed — the system check screen will flag it, so check the version before you start.
2

Route A — Windows with XAMPP

If your office lives on Windows, this is the fastest route. Install XAMPP from its official site — it bundles Apache, MySQL and PHP together — and start Apache and MySQL from the XAMPP control panel.

Download the OrangeHRM Starter zip from the official OrangeHRM website and extract it into the XAMPP web folder:

Windows — OrangeHRM Folder
C:\xampp\htdocs\orangehrm
⚠️ XAMPP is built for convenience, not for exposure: on an office LAN it is a practical choice, but never port-forward a XAMPP install to the public internet.
3

Route B — Linux with a LAMP Stack

For a dedicated server that should run for years with fewer moving parts, use Linux. Install Apache, MariaDB (or MySQL) and PHP with the extensions OrangeHRM needs, then download OrangeHRM from the official website and extract it into the Apache web folder:

Linux — OrangeHRM Folder
/var/www/html/orangehrm

Make sure the web server owns that folder and can write to it — the installer's system check tests folder writability and will stop you if it is wrong. Restart Apache after changing anything, then continue to the database step, which is the same on both routes.

4

Create the Database and Its Own User

Before opening the installer, create an empty database for OrangeHRM — for example named orangehrm — in phpMyAdmin (Windows) or your MySQL/MariaDB client (Linux), and create a dedicated database user with a real password and full rights on that database only.

⚠️ Do not hand the installer your database root password. It feels faster, but then the application runs with power over every database on the server. A dedicated user that can touch only the OrangeHRM database takes two minutes and is a real security boundary.
5

Open the Web Installer and Pass the System Check

Everything from here happens in the browser. Open the installer at:

Browser Address Bar
http://localhost/orangehrm

On another office PC, use the server's name or IP address in place of localhost. The wizard opens with a welcome and licence screen, then runs its system check — PHP version, PHP extensions, database connection and writable folders. Every line should pass. If something is flagged, fix that item (install the named extension, correct the folder permissions) rather than forcing ahead; the check exists because the software genuinely breaks when a check fails.

6

Database Settings and the Admin Account

On the database configuration screen, enter the host (usually localhost), the database name and the dedicated user you created in Step 4 — not the root account. Next the wizard asks you to create the first admin user. This account controls the whole system: every employee record, every salary field, every leave approval.

⚠️ Set a strong admin password here, and protect it like one. If a simple or default-style password was used just to get through setup, change it immediately after your first login — before any real employee data goes in. Note the credentials in your password records, and never run the office on one admin password shared between several people: one shared password is how small offices leak their own HR data.

On the confirmation screen the wizard builds the database tables. Let it finish without closing the tab.

7

First Login and the First Settings

Log in with the admin account you just created and confirm the dashboard loads. First, log out and back in once, so you know the credentials work. Then set your company name under Admin → Organization → General Information, so the system carries your office's name from day one.

✅ Take the first backup now, while the system is still empty. A database dump of the working-but-empty install is your clean return point — if anything goes wrong later, you can always come back to a known-good OrangeHRM instead of reinstalling from zero.
8

Add Employee Records and Set Up Leave

With the system running, add your people. Employee records live in the PIM module — add staff one by one, or import a staff list from CSV using the sample file from PIM → Data Import, whose header row is the exact format your file must match. Give every employee their own ESS (self-service) login so they can see their own records and apply for leave themselves; admin accounts stay separate and few.

Then set up leave in the Leave module: define your leave types, add each employee's entitlement for the year, and the daily flow takes care of itself — employees apply, their supervisors approve, and admins see everything.

9

Secure It Like HR Data Deserves

An HR system holds the most personal data in the office — names, addresses, documents, leave and salary-related records. Treat the server accordingly:

⚠️ Keep OrangeHRM behind your office network, a VPN, or proper HTTPS — never open on the public internet over plain HTTP. Logins and employee data travel unencrypted on plain HTTP, and an internet-facing install with a guessed admin password is all it takes to lose the whole people database.

Back up two things together: the database (the records) and the OrangeHRM folder's uploaded files (document attachments) — either one alone is an incomplete restore. Keep the copies somewhere other than the server itself, keep the stack updated, and review who holds an admin account whenever someone leaves the office.

🏷️Topic Search Variables & Keywords

🔍 OrangeHRM 🔍 OrangeHRM Starter 🔍 Free HR Software 🔍 HRM Server Setup 🔍 OrangeHRM Installation 🔍 XAMPP 🔍 LAMP Stack 🔍 Employee Records 🔍 Leave Management 🔍 PIM Module 🔍 HR Server 🔍 TechnicalAnshu 🔍 ITAdmin
🎙️ Full Transcript — tap to expand

OrangeHRM Server Setup. On-screen demonstration by Technical Anshu.

Set up OrangeHRM Starter on your own office server with this complete guide: requirements, web installer, first admin login, employee records, leave setup and the security rules HR data deserves.

(transcript ends here on the source page)

❓ Frequently Asked Questions

Is this tutorial 100% free to follow?

Yes! All guides and methods demonstrated by Technical Anshu use free, legal, and educational resources.

Can beginners follow this guide?

Absolutely! Every step is demonstrated on-screen with detailed instructions so anyone can follow along easily.

Where can I ask questions if I get stuck?

Leave a comment directly on the YouTube video, and our community and Technical Anshu will help you out.

🚀 Watch the Full Tutorial on YouTube

🚀 Watch the full step-by-step video tutorial on YouTube: https://www.youtube.com/watch?v=ocbmBouU_mI

Subscribe to Technical Anshu for IT support, Windows troubleshooting, and server management.

▶️ Watch Full Video
This tutorial is based on Technical Anshu's OrangeHRM Server Setup video • Stuck on any step? Ask in the video comments — you will get help there 🙏