Minimum Requirements
PHP Requirements
Minimum: PHP 8.0
Recommended: PHP 8.1 or higherFacturaScripts requires modern PHP features introduced in PHP 8.0+.
Recommended: PHP 8.1 or higherFacturaScripts requires modern PHP features introduced in PHP 8.0+.
Required PHP Extensions
These PHP extensions are required and must be enabled:| Extension | Purpose |
|---|---|
ext-bcmath | Precise decimal arithmetic for financial calculations |
ext-curl | HTTP requests and external API integrations |
ext-dom | XML document parsing and manipulation |
ext-fileinfo | File type detection for uploads |
ext-gd | Image processing and thumbnail generation |
ext-json | JSON encoding/decoding |
ext-mysqli | MySQL/MariaDB database connectivity |
ext-pgsql | PostgreSQL database connectivity |
ext-simplexml | XML parsing for configurations |
ext-zip | ZIP file handling for plugins and backups |
Check Installed Extensions
Check Installed Extensions
To check which PHP extensions are installed on your system:Or create a PHP info file:
Database Requirements
- MySQL / MariaDB
- PostgreSQL
Minimum Versions:
- MySQL 5.7 or higher
- MariaDB 10.2 or higher
- InnoDB storage engine
- UTF-8 (utf8mb4) character set support
max_allowed_packet≥ 16MB
Web Server Requirements
- Apache
- Nginx
- PHP Built-in Server
Minimum Version: Apache 2.4+Required Modules:.htaccess Support:
mod_rewrite- URL rewritingmod_headers- HTTP header manipulationmod_env- Environment variables
AllowOverride Allmust be enabled in your virtual host configuration
Recommended Requirements
For optimal performance, especially with larger datasets or multiple concurrent users:Server Resources
Memory
Minimum: 256 MB RAM
Recommended: 512 MB+ RAM
Heavy Use: 1 GB+ RAM
Recommended: 512 MB+ RAM
Heavy Use: 1 GB+ RAM
Storage
Minimum: 500 MB disk space
Recommended: 2 GB+ disk space
(for documents, backups, logs)
Recommended: 2 GB+ disk space
(for documents, backups, logs)
CPU
Minimum: 1 CPU core
Recommended: 2+ CPU cores
Recommended: 2+ CPU cores
Network
Stable internet connection for:
- Plugin downloads
- Updates
- External integrations
PHP Configuration
Recommendedphp.ini settings:
Apply PHP Configuration Changes
Apply PHP Configuration Changes
After modifying
php.ini:Development Requirements
For plugin development or contributing to FacturaScripts core:Additional Tools
- Composer
- Node.js & npm
- Git
Dependency ManagementRequired for installing PHP dependencies.
Development Dependencies
These are automatically installed via Composer during development:- PHPUnit 9.x - Unit testing framework
- PHP_CodeSniffer 3.x - Code style checking
- PHPStan - Static analysis tool
Browser Requirements
For the web interface, FacturaScripts supports:- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
Internet Explorer is not supported. Use a modern browser for the best experience.
Hosting Compatibility
Shared Hosting
Can I use shared hosting?
Can I use shared hosting?
Cloud Hosting
Recommended cloud platforms:DigitalOcean
Droplets with 1GB+ RAM
AWS
EC2 instances (t3.small+)
Google Cloud
Compute Engine VMs
Linode
Nanode 1GB+
Vultr
Cloud Compute 1GB+
Hetzner
Cloud servers CX11+
Docker
Docker support
Docker support
While FacturaScripts doesn’t provide official Docker images, you can create your own:Base requirements:
- PHP 8.0+ image with required extensions
- MySQL or PostgreSQL container
- Volume mounts for persistent data
Checking Your System
Automated Check
FacturaScripts includes a system check during installation that verifies:- PHP version and extensions
- Database connectivity
- File permissions
- Memory limits
Manual Check
Create aphpinfo.php file in your web root:
- PHP version ≥ 8.0
- All required extensions are loaded
- Configuration matches recommendations
Performance Considerations
Database Performance
Database Performance
For optimal database performance:
- Use InnoDB engine for MySQL (not MyISAM)
- Enable query cache (if MySQL < 8.0)
- Regular maintenance (OPTIMIZE TABLE)
- Proper indexes (handled automatically by FacturaScripts)
Caching
Caching
Enable caching in production:Consider using:
- OpCache for PHP bytecode caching
- Redis or Memcached for data caching (requires plugins)
File System
File System
For better file I/O performance:
- Use SSD storage if possible
- Ensure
MyFiles/directory has fast disk access - Regular backups to separate storage
Next Steps
Installation
Install FacturaScripts on your server
Quick Start
Get started after installation
Troubleshooting
Common issues and solutions
Support
Get help from the community

