🧰 System Requirements

This guide lists the minimum and recommended requirements to run PhPstrap smoothly in development and production.

TL;DR: PHP 8.1+, MySQL/MariaDB, Apache or Nginx, and common PHP extensions (PDO, cURL, JSON, OpenSSL, Zip, GD). Ensure config/, cache/, uploads/, and logs/ are writable.

✅ Minimum Requirements

💡 Recommended (Production)

🔌 PHP Extensions (Details)

Required
  • pdo, pdo_mysql — database access
  • mbstring — multibyte string handling
  • curl — GitHub updater, external requests
  • json — config, module settings, APIs
  • openssl — secure HTTPS requests
  • zip — installer/updater archive operations
  • gd — image manipulations (avatars, assets)
Optional / Nice to Have
  • intl — better date/locale formatting
  • imagick — higher quality image processing
  • ldap — enterprise auth (future modules)
  • redis — caching (future optimization)

🗄️ Database

🌐 Web Server

Apache
Nginx

🔐 File & Directory Permissions

⚙️ PHP ini Settings (Suggested)

DirectiveRecommendedNotes
memory_limit256MMore for large imports/updates
max_execution_time60–120Installer/Updater unzip + copy
upload_max_filesize10–50MAdjust to your content needs
post_max_size10–50Mupload_max_filesize
date.timezoneUTCOr your region (e.g., Europe/London)
opcache.enableOnSignificant performance boost
expose_phpOffMinor security hardening
display_errorsOff (prod)On in dev only
log_errorsOnLog to file, not screen

🔎 What the Installer Checks

The installer performs a quick environment scan similar to:

🧯 Troubleshooting


Need help verifying your environment? Run the installer’s Requirements step or open an issue on GitHub.