How to install X-Cart 5 on CentOS

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.

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

Installation instructions

Download the latest version of X-Cart available on the official website at ‘http://www.x-cart.com/download.html’ to a directory on your server, then extract the archive file using the following commands:

Open http://your-domain.com in your favorite web browser and follow the easy instructions; set an email address and password for accessing the administrator back-end of your e-commerce website, enter the MySQL database name, username and MySQL password and click ‘Next’.

That is it. The X-Cart 5 installation is now complete. Log in to the X-Cart administration back-end at http://your-domain.com/admin.php , configure X-Cart according to your needs, add new features and/or disable existing ones, then add products and start creating your e-commerce website.

Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install X-Cart 5 for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.