How to install X-Cart 5 on CentOS

Written By
R
Rosehosting
May 5, 2016

X-Cart is a search engine friendly shopping cart software written in PHP with many features like: WYSIWYG editor, easy-to-use web interface, order tracking, customer order history, real time shipping calculation, printable invoices and receipts, built-in marketing tools like up-selling, cross-selling, discounts and more.

This install guide assumes that Apache, MySQL and PHP are already installed and configured on your Linux VPS. At the time of writing this tutorial, the latest stable version of X-Cart is 5.2.13 and it requires:

PHP 5.3.10 or higher with the following PHP extensions enabled: libCURL, PDO, Phar and GD Graphics Library version 2.0.x+ (or ImageMagick). Also, safe_mode and magic_quotes_runtime settings should be disabled and ini_set and file_uploads setting should be enabled in PHP configuration (php.ini).
Apache Web Server 2.0 or higher compiled with mod_rewrite module and with the following directives allowed: RewriteEngine, RewriteBase, RewriteCond and RewriteRule.
MySQL 5.1.31 or higher, or MariaDB database server installed on your virtual server.

Advertisement

This tutorial was tested and written for a CentOS VPS, but it should work on any server using some RPM based Linux distribution.

R

Rosehosting

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.