Documentation Index
Fetch the complete documentation index at: https://mintlify.com/IvBanzaga/Refugio/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Refugio is a PHP-based web application that requires a standard LAMP/LEMP stack. This page outlines the minimum and recommended requirements for running the system in both development and production environments.Minimum Requirements
Server Requirements
PHP Version
Minimum: PHP 7.4
Recommended: PHP 8.0 or higher
Recommended: PHP 8.0 or higher
Web Server
Apache 2.4+ with mod_rewrite
or Nginx 1.18+
or Nginx 1.18+
Database
PostgreSQL 12+ or MySQL 5.7+ / MariaDB 10.3+
Memory
Minimum: 512 MB RAM
Recommended: 1 GB+ RAM
Recommended: 1 GB+ RAM
PHP Extensions
The following PHP extensions are required:- Required Extensions
- Check Installed
Operating System
Linux (Recommended)
Linux (Recommended)
- Ubuntu: 20.04 LTS or newer
- Debian: 10 (Buster) or newer
- CentOS/RHEL: 7 or 8
- Amazon Linux: 2
Windows
Windows
- Windows Server 2016 or newer
- XAMPP 8.0+ or WAMP Server
- Not recommended for production
macOS
macOS
- macOS 10.15 (Catalina) or newer
- Homebrew PHP installation
- Suitable for development only
Recommended Production Specifications
Small Deployment (1-50 users)
| Resource | Specification |
|---|---|
| CPU | 2 cores @ 2.0 GHz |
| RAM | 2 GB |
| Storage | 20 GB SSD |
| Bandwidth | 100 Mbps |
Medium Deployment (50-200 users)
| Resource | Specification |
|---|---|
| CPU | 4 cores @ 2.5 GHz |
| RAM | 4 GB |
| Storage | 40 GB SSD |
| Bandwidth | 500 Mbps |
Large Deployment (200+ users)
| Resource | Specification |
|---|---|
| CPU | 8+ cores @ 3.0 GHz |
| RAM | 8+ GB |
| Storage | 100+ GB SSD |
| Bandwidth | 1 Gbps |
Database Requirements
- PostgreSQL
- MySQL/MariaDB
PostgreSQL Specifications
Version: 12.0 or higherStorage: Minimum 5 GB for database
Extensions: None required (uses standard SQL)Recommended Settings:
Browser Support
The Refugio web interface supports the following browsers:Modern browsers (last 2 versions)
Chrome/Chromium 90+
Firefox 88+
Safari 14+
Edge 90+
Mobile browsers (iOS Safari, Chrome Mobile)
Network Requirements
Ports
| Port | Protocol | Purpose |
|---|---|---|
| 80 | HTTP | Web server (redirect to HTTPS) |
| 443 | HTTPS | Secure web access |
| 5432 | TCP | PostgreSQL (if remote) |
| 3306 | TCP | MySQL (if remote) |
| 22 | SSH | Server administration |
Firewall Rules
SSL Certificate
Options:- Let’s Encrypt (free, automated)
- Commercial SSL certificate
- Cloudflare SSL (if using Cloudflare)
Development Environment
For local development, simpler requirements apply:Verification Script
Use the included verification script to check your environment:- PHP version and extensions
- Database connectivity
- File permissions
- Session support
Next Steps
Database Setup
Configure your database and import the schema
Configuration
Configure application settings