Prerequisites
Before installing, ensure your system meets the system requirements:- PHP 8.0 or higher
- MySQL 5.7+ / MariaDB 10.2+ or PostgreSQL 9.5+
- Composer
- Node.js & npm (for assets compilation)
- Web server (Apache, Nginx, or PHP built-in)
Installation Methods
- From Source (Development)
- Stable Release (Production)
Database Setup
Create Database
- MySQL/MariaDB
- PostgreSQL
Web Server Configuration
- PHP Built-in Server (Development)
- Apache
- Nginx
The easiest way to run FacturaScripts for development:Or use the Composer script:Access the application at
http://localhost:8000The PHP built-in server is not suitable for production use. Use Apache or Nginx for production deployments.
Initial Setup
Access the Setup Wizard
Open your browser and navigate to your FacturaScripts installation:
- Development:
http://localhost:8000 - Production:
http://yourdomain.com
Create Admin Account
The setup wizard will prompt you to create an administrator account:
- Username: Choose a secure username (not “admin”)
- Password: Use a strong password (8+ characters, letters + numbers)
- Email: Your email address for notifications
Configure Company
Enter your company details:
- Company name
- Tax ID / VAT number
- Address and contact information
- Default currency
Set Up Accounting
Configure accounting preferences:
- Fiscal year start date
- Chart of accounts (country-specific templates available)
- Tax rates and VAT configuration
- Payment methods
Post-Installation
Verify Installation
After setup completes, you should:- ✅ Log in with your admin credentials
- ✅ Access the Dashboard
- ✅ Check that the database connection is working
- ✅ Verify file permissions (MyFiles directory should be writable)
Recommended Settings
Production Security
Production Security
For production environments, update your
config.php:Performance Optimization
Performance Optimization
Improve performance:
Email Configuration
Email Configuration
Configure email for notifications:
- Go to Admin Panel → Settings → Email Configuration
- Enter your SMTP settings
- Test the email configuration
Install Plugins
Extend FacturaScripts with plugins:- Go to Admin Panel → Plugins
- Browse available plugins
- Click Install on desired plugins
- Enable the plugin after installation
Troubleshooting
Database Connection Errors
Database Connection Errors
If you see database connection errors:
- Verify database credentials in
config.php - Ensure the database exists and is accessible
- Check that the database user has proper permissions
- Verify
FS_DB_TYPEmatches your database server (mysql or postgresql)
Permission Denied Errors
Permission Denied Errors
If you encounter permission errors:
White Screen / 500 Errors
White Screen / 500 Errors
If you see a blank page or 500 error:
- Enable error display in
config.php:define('FS_DEBUG', true); - Check PHP error logs
- Verify all PHP extensions are installed (see System Requirements)
- Ensure PHP memory limit is at least 128MB
Assets Not Loading
Assets Not Loading
If CSS/JS files are not loading:
Next Steps
Quick Start
Create your first invoice
User Guides
Learn how to use FacturaScripts
Configuration
Configure system settings
Support
Get help from the community

