• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Xcart 5.3.5.3 on Ubuntu 18.04

{{postValue.id}}

To install Xcart 5.3.5.3 on Ubuntu 18.04

X-Cart is a powerful commercial open source eCommerce platform written in PHP. It enables individuals to set up eCommerce and online stores in minutes. It contains a plethora of themes and plugins with the application, along with some built-in plugins to support some modules. XCart is a truly free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name.

Prerequisites


To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  
php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Switch to the following directory

root@linuxhelp1:~# cd /home/user1/Downloads/x-cart-5.3.5.3-en.tgz

I have already downloaded the XCart application package using this following URL https://www.x-cart.com/

The downloaded package is a zip file, so we need to unzip the file now

root@linuxhelp1:/home/user1/Downloads# tar -zxvf x-cart-5.3.5.3-en.tgz 
xcart
xcart/cart.php
xcart/vendor
xcart/vendor/marcj
xcart/vendor/marcj/topsort
.
.
xcart/lib/Less/readme
xcart/lib/Less/Less.php
xcart/lib/Less/Cache.php
xcart/lib/phpunsharpmask.php
xcart/lib/PEAR.php
xcart/classes/XLite/Module/XC/Concierge/config.yaml

Move the extracted file into the following path

root@linuxhelp1:/home/user1/Downloads# mv xcart /var/www/

Switch to the following directory

root@linuxhelp1:/home/user1/Downloads# cd /var/www/

Change the ownership and permission of the file

root@linuxhelp1:/var/www# chown -R www-data.www-data xcart
root@linuxhelp1:/var/www# chmod -R 775 xcart

Create a new virtualhost configuration to accessing thforXCart CMS application

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/xcart.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/xcart/

< Directory /var/www/xcart/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Enable the site access

root@linuxhelp1:/var/www# a2ensite xcart.conf
Enabling site xcart.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable the default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache2 service

root@linuxhelp1:/var/www# systemctl restart apache2

Open a browser and type the following URL of http://local IP (or ) domain name
snap1

Accept the license agreement to use the XCart application
snap2

Configure the Admin user account setup
snap3

Just verify the environment check
snap4

Configure the Database setup as follows
snap5

Check out the file permissions
snap6

verify the building cache as follows
snap7

After the installation, you will see the progress of the installation
snap8

log in with help of using the Admin user credential
snap9

After the successful login, XCart application Administration control panel will appear as shown here
snap10

Following is the Homepage of XCart application
snap12

with this, the method to install Xcart 5.3.5.3 on Ubuntu 18.04 comes to an end.

Tags:
gabriel
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is X-cart Application?

A

X-Cart is a powerful commercial open source eCommerce platform written in PHP. It enables individuals to set up eCommerce and online stores in minutes. It contains a plethora of themes and plugins with the application, along with some built-in plugins to support some modules.

Q

How to have host file entry for X-cart file?

A

To enable host file entry for X-cart do the following,
# vim /etc/hosts

Q

If I purchase X‑Cart Business, is it possible to switch to another X‑Cart edition later?

A

Yes, it is. As soon as you buy a new license key and activate it in your X‑Cart back‑end, you’ll get access to the new features right away.

Q

Does X‑Cart allow selling e‑goods or the so-called downloadable products like images, videos, software?

A

Yes, this feature is supported in all paid X‑Cart editions.

Q

What are the required PHP extensions to be used for X-cart?

A

In X-cart the following PHP extensions are to be used
# php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0 php7.0-common php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl
php7.0-cli php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.