Skip to content
CZ App Studio
All guides

All guidesInstallation

Install on a Linux VPS

Install Open Core HR on a Linux server with Nginx, PHP-FPM, MySQL and a process manager.

Use this page with AI Open in Claude Open in ChatGPT View as Markdown

Use a maintained Linux distribution. Install Nginx, compatible PHP-FPM/CLI and extensions, MySQL with its client tools, Node.js and a process manager using supported packages. Package names and socket paths vary by distribution.

  1. Create a deployment account and dedicated database/user.
  2. Extract the release package into /srv/open-core-hr or your chosen private path.
  3. Follow preparation and configuration.
  4. Give PHP-FPM write access to storage, bootstrap/cache, Modules and modules_statuses.json. Keep source and secrets private; do not use world-writable permissions.
  5. Configure Nginx, replacing the hostname, path and socket below:
server {
    listen 80;
    server_name hr.example.com;
    root /srv/open-core-hr/public;
    index index.php;
    client_max_body_size 20m;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    location ~ ^/index\.php(/|$) {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_pass unix:/run/php/php8.5-fpm.sock;
        fastcgi_hide_header X-Powered-By;
    }
    location ~ \.php$ { return 404; }
    location ~ /\.(?!well-known).* { deny all; }
}
  1. Test the Nginx configuration and reload it.
  2. Issue an HTTPS certificate and configure HTTP-to-HTTPS redirection.
  3. Set up cron and supervised services.
  4. Complete the installation checklist.

Align upload limits in PHP, Nginx and application validation. This starting configuration still needs acceptance on the exact Linux/PHP stack.

Inside Open Core HR

Swipe across to explore the screen.

Inside Open Core HR