Server Requirements
page last edited on 19 June 2019
Before you get started with the software installation you should check whether your web server spec meets the X-Cart system requirements.
System Requirements
Here is the system requirements list:
-
X-Cart v5.4.0.x and later : PHP 7.2 or higher / MySQL 5.7.7 or higher
X-Cart v5.3.4.5 and later : PHP 5.4 - 7.2 / MySQL 5.1.31 or higher
You can also use the MySQL-compatible database engine MariaDB (minimum allowed MariaDB version is 10.2.4).
- PDO extension with MySQL driver
- Phar extension (Required for the processes of updating/upgrading your X-Cart 5 store and addon installation. Phar version requirements may differ depending on the other components of your system. If you experience problems while trying to run an update/upgrade or to install an addon, try using Phar v.2.0.1 or later.)
- mbstring extension is highly recommended (though X-Cart has a polyfill for it, native extension will speed up string processing)
- 200-300Mb of disk space
- libCURL module support (The minimum required CURL version is 7.39.0; version 7.43.0 is recommended.)
ini_set
enabledsafe_mode
disabledfile_uploads
enabledpost_max_size
set to 2M+ and larger than theupload_max_filesize
value (critical for installation)upload_max_filesize
set to 2M or highermagic_quotes_runtime
disabled (for PHP versions prior to 5.4.x)memory_limit
set to 128M or higher (if you are using 64-bit processors in your server environment, thememory_limit value
must be 256M or higher)- GDLib 2.0 or ImageMagick (recommended for proper image resizing routines)
- PHP time limit properly set according to your server config
- mod_rewrite-like components to enable proper work of SEO-friendly URLs
- if xdebug is enabled,
xdebug.max_nesting_level
must be set to 300 -
if OPcache is enabled, the following settings must be applied:
opcache.use_cwd=1 opcache.revalidate_path=1 opcache.validate_timestamps=1 opcache.revalidate_freq=0 opcache.save_comments=1 opcache.load_comments=1
Any other cachers should not strip comments from the code, too.
- Suhosin PHP extension might interfere with the proper work of X-Cart 5, so you should disable it.
Hardware Requirements
Use X-Cart on *NIX-based servers only (Ubuntu, Debian, CentOS etc.)!
Traffic (Visitors/Month) | |||||
---|---|---|---|---|---|
Catalog size | up to 2K | 2K-10K | 10K-50K | 50K-100K | over 100K |
up to 1000 SKUs up to 100 Categories |
VPS hosting - 1 Core - 1 GB RAM (DDR4) |
VPS hosting - 1 Core - 2 GB RAM (DDR4) |
VPS hosting - 2 Core - 4 GB RAM (DDR4) |
VPS hosting - 8 Core - 16 GB RAM (DDR4) |
Dedicated server |
up to 10 000 SKUs up to 500 Categories |
VPS hosting - 1 Core - 2 GB RAM (DDR4) |
VPS hosting - 1 Core - 2 GB RAM (DDR4) |
VPS hosting - 2 Core - 4 GB RAM (DDR4) |
VPS hosting - 8 Core - 16 GB RAM (DDR4) |
Dedicated server |
up to 20 000 SKUs up to 1000 Categories |
VPS hosting - 2 Core - 4 GB RAM (DDR4) |
VPS hosting - 2 Core - 4 GB RAM (DDR4) |
VPS hosting - 8 Core - 16 GB RAM (DDR4) |
Dedicated server | Dedicated server |
up to 50 000 SKUs up to 2000 Categories |
VPS hosting - 8 Core - 16 GB RAM (DDR4) |
VPS hosting - 8 Core - 16 GB RAM (DDR4) |
Dedicated server | Dedicated server | Dedicated server |
over 50 000 SKUs over 2000 Categories |
Dedicated server | Dedicated server | Dedicated server | Dedicated server | Dedicated server |
Not Supported
- LiteSpeed
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.