Overview
Before installing Flint Engine, make sure your server meets the following requirements. Failing to meet these requirements may cause installation errors or runtime issues.
Server Requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| PHP Version | 8.1 | 8.2 or higher |
| MySQL Version | 5.7 | 8.0 or higher |
| Web Server | Apache 2.4 with mod_rewrite | Nginx or Apache with URL rewriting |
| Memory Limit | 256MB | 512MB |
| Disk Space | 200MB | 500MB+ (depending on media uploads) |
Required PHP Extensions
The following PHP extensions must be enabled on your server:
pdo_mysql— Database connectionmbstring— Multi-byte string handlingxml— XML parsingcURL— HTTP requests for email and integrationsgdorimagick— Image processing for media uploadszip— Archive handlingjson— JSON data processingopenssl— Encryption and secure connectionsfileinfo— File type detection
Optional PHP Extensions
redis— Recommended for production caching (Redis server required)bcmath— Precise decimal calculations for payment processingexif— EXIF data handling for image metadata
Directory Permissions
The following directories must be writable by the web server:
storage/— Logs, cache, and sessionsstorage/uploads/— Media file uploadsbootstrap/cache/— Framework cache files
Run these commands after installation:
chmod -R 755 storage/
chmod -R 755 bootstrap/cache/
chown -R www-data:www-data storage/ bootstrap/cache/
Environment Configuration
Flint Engine uses a .env file for configuration. You will need to set:
APP_KEY— Generated during installationDB_HOST,DB_DATABASE,DB_USERNAME,DB_PASSWORD— Database credentialsREDIS_HOST— If using Redis cachingMAIL_HOST,MAIL_PORT,MAIL_USERNAME,MAIL_PASSWORD— SMTP settings
Recommended Production Setup
- PHP 8.2+ with OPcache enabled
- MySQL 8.0 or MariaDB 10.6+
- Redis 6.0+ for caching and sessions
- Nginx with HTTP/2 and gzip compression
- SSL certificate for HTTPS
- Composer for dependency management
Tip: Check your PHP version and extensions by running php -v and php -m on your server.