X-Cart 4.5 or above

server requirements

manoeuver organization

OS logos.png Any function system is good – vitamin a retentive as it allows deployment of the pursuit ask components :

  • PHP;
  • MySQL;
  • Web server with support for PHP (Nginx is recommended).

PHP, MySQL and Apache/Nginx web waiter requirements are listed far below.


hardware required to achieve a good X-Cart operation depends on many factors, however the most authoritative are Catalog size and Traffic. The table below provides recommend hardware specifications .

Catalog size up to 100 visitors/day up to 5,000 visitors/day up to 15,000 visitors/day
2000 SKUs a good shared/cloud hosting VPS / Dedicated server

  • Dual-core CPU
  • RAM 1 GB
  • 250 Mbps connection
Dedicated server

  • Dual CPU dual-core
  • 500 Mbps connection
20,000 SKUs a good shared/cloud hosting VPS / Dedicated server

  • Dual-core CPU
  • RAM 2 GB
  • 250 Mbps connection
Dedicated waiter

  • Dual CPU dual-core
  • RAM 16 GB, SAS HDD
  • 500 Mbps connection
200,000 SKUs VPS host

  • Dual-core CPU
  • RAM 2 GB
  • 100 Mbps connection
Dedicated server

  • Dual-core CPU
  • 250 Mbps connection
Dedicated server

  • Dual CPU quad core
  • RAM 16 GB, SAS HDD
  • 500 Mbps connection

See besides :

PHP shape

PHP version X-Cart 4.7.x : Any PHP translation below 7.4.x should not be used. # PHP7 is recommended for X-Cart versions 4.7.6 and late for better performance. rid PHP7.0 / 7.1 / 7.2 / 7.3 / 7.4 patches for old versions
X-Cart 4.5.3-4.6.6 : PHP interpretation 5.2.0 or late is required.
Up to X-Cart 4.5.3 : PHP versions 4.4.0 – 5.x. ( PHP5 hold is recommended, but not required ).
php.ini settings required values :

safe_mode = off
file_uploads = on
magic_quotes_sybase = off
sql.safe_mode = off
allow_url_fopen = on
ini_set = on
memory_limit >= 32M
(X-Cart v4.5.5 and later) register_globals = off

recommended values :

disable_functions = NULL
post_max_size >= 2M
upload_max_filesize >= 2M
max_execution_time >= 30
memory_limit >= 64M
max_input_time >= 30
sendmail_from = …@domain.com (an email address, from which sending mail is allowed)

PHP extensions required :

  • PCRE
  • MySQLI or MySQL (MySQLI is supported starting with X-Cart version 4.6.4)

recommended :

  • FTP – to be able to upload files to GoogleBase
  • Zlib – for data compression on the fly
  • GDLib 2.0 or better – required for automatic generation of product thumbnails form product images, for the ‘Image Verification’ module and for cache generation in the ‘Detailed Product Images’ module. GDLib must be compiled with libJpeg (ensure that PHP is configured with the option –with-jpeg-dir=DIR, where DIR is the directory where libJpeg is installed).
  • OpenSSL or Mcrypt – highly recommended to speed up the Blowfish data encrypting process. (OpenSSL is recommended starting with X-Cart version 4.7.9)
  • xml/Expat – for Intershipper, UPS or USPS shipping modules.
  • cURL – for some of the online credit card processing modules and for shipping modules (cURL version 7.39.0 or better is recommended).
  • iconv – for AJAX functionality.

Other recommendations

  • PHP should be compiled with the –enable-memory-limit option (strongly recommended).
  • PHP should be compiled with the –enable-mbstring option. mbstring is used to handle languages that use multibyte character encodings. For more information and a list of supported encodings, see the corresponding section of PHP manual. If you are planning to use languages that require UTF-8 encoding, set the mbstring.func_overload value to 7.
    In X-Cart versions 4.6.2 and later, mbstring is also needed for “responsive” display of notifications.
  • If you wish to use an external mail program (like qmail or postfix) instead of the PHP mail() function, this mail program must be installed and configured.
  • If you wish to use an SMTP server instead of the PHP mail() function to send mail from the store, the SMTP server must be installed and configured.
  • PHP function exec() must be allowed for the correct functioning of most of the CC payment processing modules used with X-Cart (SaferPay, Credomatic, CyberSource, HSBC, Ogone, Ogone Web, PayBox, PaySystems Client, VaultX), HTTPS modules (Net::SSLeay, CURL, OpenSSL, https_cli), GnuPG/PGP.
  • PHP functions popen() & pclose() must be allowed for the correct functioning of some HTTPS modules (CURL, Net::SSLeay, OpenSSL, https_cli), payment modules (Saferpay, CyberSource), SMTP mailer (PHPMailer).
  • Security recommendation: For stronger cryptographic protection of user passwords, it is recommended to use OpenSSL and PHP version 5.3.7 or later; PHP must be compiled with the –with-openssl[=DIR] option. If you are using a Unix-like OS, make sure the /dev/urandom special file is readable.

For avail on PHP shape settings, travel to hypertext transfer protocol : //www.php.net .

PHP 7 typical configuration

  • Disable all extensions except these: calendar / cgi-fcgi / Core / ctype / curl / date / dom / filter / ftp / gd / gettext / hash / iconv / json / libxml / mbstring / mysqli / mysqlnd / openssl / pcre / posix / readline / Reflection / session / SimpleXML / soap / sodium / SPL / standard / sysvmsg / sysvsem / sysvshm / xml / xmlreader / xmlwriter / Zend OPcache / zlib
  • Use Server API FPM/FastCGI with nginx webserver
  • You can use File:PHP NGINX.tgz sample configs, Clean_URLs_in_Nginx and Configuring_HTTPS.

MySQL shape

MySQL version For X-Cart versions 4.7.х, MySQL 5.7.x/8.x is recommended for better performance, MySQL 8.x is supported starting with X-Cart version 4.7.10
Up to X-Cart 4.7.0 hold versions : 4.1.2 – 5.7.x
MariaDB is besides supported by X-Cart versions of the 4.7 branch .
MySQL server settings MAX_CONNECTIONS > = 200 ( required ; try using a lower mount when having MySQL issues on a server with less than 4GB of RAM ) MySQL user privileges Required basic privileges :


Privileges, required for software installation/upgrade :


MySQL user limitations Required values :

MAX_QUESTIONS – no limitations
MAX_UPDATES – no limitations
MAX_QUERIES_PER_HOUR – no limitations
MAX_USER_CONNECTIONS – no limitations

Recommended values :

max_allowed_packet – 8-16 MB recommended
wait_timeout – minimum 7200 (28800 recommended)

note : a ‘Lost connections ‘ error may appear if the values of the options ‘max_allowed_packet ‘ and ‘wait_timeout ‘ are besides low .

Web-server shape

Nginx is the recommend web server. The settings described below refer to Apache merely. Distributed configuration file

  • The name of the file must be “.htaccess” (AccessFileName .htaccess).
  • You must have sufficient permissions to change the settings of the web directory via the .htaccess file (AllowOverride = ALL).

PHP running mode If PHP is installed as CGI, it must be compiled with — enable-force-cgi-redirect ( without — enable-discard-path ). Apache modules basic modules :

  • mod_dir – is required for correct operation of DirectoryIndex
  • mod_access – is required for correct operation of Deny From All and Allow From All
  • mod_auth – is required for correct operation of HTTP authentication (HTTP authentication is used in Google Checkout module for additional Admin area protection)

Recommended modules

  • mod_userdir – is required for access to the website via a temporary URL (http://IP/~user).
  • mod_rewrite – is required for correct operation of the Clean URLs functionality.
  • mod_expires – is required to set up file caching.
  • mod_gzip / mod_deflate – is required for page compression.

crucial : If using FastCGI apache module, be certain increase the nonpayment values for the FcgidIOTimeout and FcgidIdleTimeout settings in the apache/FastCGI configs. See “ CSV consequence times out before completion … “ import/export troubleshooting article for details. HTTPS settings

  • DocumentRoot directories for HTTP and HTTPS must be the same.
  • PHP on HTTP and HTTPS must be run under the same user account.
  • The php.ini file must be the same for HTTP and HTTPS.

Disk space A fresh initiation of X-Cart 4.3.0 uses at least 30 megabytes of disk space ( if installed without add-ons ). In summation to that, some disk space will be needed for X-Cart ‘s cache data, visualize files ( if you choose to store them on the file organization ) and customizations .

MySQL space

The sum of distance required for X-Cart database depends on the number of products, customers and orders that will be stored there. consequently, database distance requirements may vary from a little as 5 megabytes for little shops to over 500 megabytes for bombastic stores .

advanced requirements and recommended settings

Network settings

  • Outgoing connections must be allowed for ports 80, 443 and 1129. Some payment and shipping systems may require additional ports.
  • The server firewall must allow loopback connections. This is required for HTML catalog feature.
  • External domains must be resolved on the level of PHP as well as on the system level. Such PHP functions as gethostbyaddr and gethostbyname must work without limitations.
  • Domains hosted on a hosting with localhost must be resolved to an external IP address if the server is behind NAT.

Other requirements

  • A valid SSL certificate from the list of SSL certificates accepted by Google Checkout is required for correct operation of Google Checkout module. For more information, see the section “What SSL certificates does Google Checkout accept?” of Google Checkout Merchant Help.
  • Windows or Linux operating system is required for HSBC payment method.
  • The following functionality requires no less than 64 MB of memory: backing up/restoring the database, import and product modification.

important ! These are the basic organization requirements. Some specific settings may be needed for unlike store configurations .

Environment check

You can check whether your X-Cart store environment is optimum by following a link crafted according to the follow pattern : hypertext transfer protocol : //www.example.com/xcart/check_requirements.php ? checkrequirements=1 & auth_code=XXXXXXXX where hypertext transfer protocol : //www.example.com/xcart/ is the address of your install X-Cart store, and XXXXXXXX is the Auth code for your X-Cart initiation. The consequence should be a table like the follow :
Check requirements.png

Client-side requirements


The users of X-Cart ‘s back end must have JavaScript enabled in the vane browser. For the users of X-Cart ‘s shopfront, enabled JavaScript is recommended : JavaScript is not required for the basic shopfront functionality : a user can register, log in, add a merchandise to cart and check out without JavaScript enabled ; however, anything above that is not guaranteed to work without enable JavaScript. For example, although a drug user will be able to buy a regular product with JavaScript disabled, they will not be able to buy a configurable product or a gift security. If a user enters the store with JavaScript disabled, X-Cart displays a message asking this exploiter to enable JavaScript in the web browser.


Both the users of X-Cart ‘s shopfront and back end must set their web browser to accept cookies. If a exploiter enters the memory using a browser that does not accept cookies and attempts to perform an operation that requires enable cookies, X-Cart displays a message asking this drug user to enable cookies in the web browser .

Screen resolution

Minimum required screen resoluteness for the shopfront is 800×600 ( recommended : 1024×768 or higher ). Minimum required blind solution for the bet on end is 1024×768 .

Browser compatibility

  • Google Chrome 4 major versions (including latest version)
  • Mozilla FireFox 4 major versions (including latest version)
  • Safari 4 major versions (including latest version)
  • Edge 4 major versions (including latest version)
  • Opera 4 major versions (including latest version)
generator : https://themedipia.com
Category : Website hosting

Leave a Reply

Your email address will not be published.