This guide is for new installations only. If you’re upgrading from a previous version, see the Upgrade Guide instead.
Installation Methods
Choose the installation method that best fits your needs:Linux/Unix
Production server installation using cPanel or FTP
Docker
Local development environment (recommended)
Windows
Windows server or local development
Pre-Installation Checklist
Before you begin, ensure you have:- ✅ PHP 8.0.2 or higher installed
- ✅ MySQL database created with a user assigned
- ✅ Required PHP extensions enabled:
curl,gd,zip - ✅ FTP/SSH access to your server (for manual installation)
- ✅ Downloaded the latest OpenCart release
Linux/Unix Installation
Upload Files
Upload all files and folders from the
upload/ directory to your web root:- cPanel:
public_html/ - Plesk:
httpdocs/ - Other: Your server’s document root
Run Web Installer
Visit your store homepage in a web browser:You’ll be redirected to the installation wizard. Follow the on-screen instructions:
- Accept the license agreement
- Verify system requirements
- Enter database connection details
- Create admin account
- Complete installation
Docker Installation (Recommended for Development)
OpenCart includes a complete Docker-based development environment.Prerequisites
System Requirements
System Requirements
- Docker Desktop or Docker Engine with Docker Compose v2
makeutility (pre-installed on macOS/Linux)- WSL 2 (strongly recommended for Windows users)
For Windows users: Clone the repository inside your WSL distribution (e.g., Ubuntu) for optimal performance. Without WSL 2, file system performance will be extremely slow.
Quick Start with Docker
Docker Commands Reference
Using Optional Services
Enable additional services using Docker Compose profiles:Changing PHP Version
Editdocker/.env.docker to change the PHP version:
Windows Installation
Rename Configuration Files
Local Development Alternatives
If you prefer not to use Docker, these all-in-one solutions work well with OpenCart:- XAMPP: apachefriends.org
- AMPPS: ampps.com
- WampServer: wampserver.com
- USBWebServer: usbwebserver.net
Post-Installation Configuration
Going Live
Before launching your production store, disable error display:Initial Store Configuration
- Login to Admin Panel:
http://yourstore.com/admin - System → Settings: Configure your store details
- Extensions → Extensions: Install payment and shipping methods
- Design → Themes: Select and configure your theme
- System → Users → User Groups: Verify admin permissions
Troubleshooting
GoDaddy Hosting Issues
GoDaddy Hosting Issues
If hosting on GoDaddy, you may need to rename
php.ini to user.iniGoDaddy uses non-standard file naming conventions for PHP configuration.Blank Page After Installation
Blank Page After Installation
- Ensure you’ve deleted the
/install/directory - Check file permissions on
config.phpfiles - Enable error display temporarily to see the actual error
- Check PHP error logs for details
Database Connection Errors
Database Connection Errors
- Verify database credentials in
config.php - Ensure MySQL service is running
- Check that database user has proper privileges
- Confirm database host (usually
localhost)
Missing Images or Broken Layout
Missing Images or Broken Layout
- Check file permissions on
/image/directory - Verify web server is configured to serve static files
- Clear browser cache
- Check for
.htaccessissues on Apache
Next Steps
Now that OpenCart is installed:Quick Start Guide
Configure your store and add your first products
Theme Customization
Customize the look and feel of your store

