How to install a shopping cart on Quick.Cart in CentOS 7

Quick.Cart is a free and open source shopping cart script written in PHP. Quick.Cart is a very simple, yet powerful shopping cart nonetheless, and it can be installed and run on almost all Linux distributions. It does not require a SQL database and it can be installed in less than 5 minutes. In this tutorial, we will walk you through the process of installing Quick.Cart on a CentOS 7 VPS with Apache and PHP.

In order to run Quick.Cart on CentOS 7 VPS, we have to install or enable the following requirements

  • PHP version 5.2.0 or higher with GD module enabled
  • Web server (Apache web server recommended)

First of all login to your server using SSH as root user

ssh [email protected]_Adress

And, as usual, run the following command to make sure all the services installed on your server are up to date

yum -y update

We will now install the Apache web server

yum -y install httpd

Once the web server is installed, start it and set it to start automatically when the server boots

systemctl start httpd
systemctl enable httpd

Since Quick.Cart is written in PHP, we will install PHP and the PHP-GD extension

yum -y install php php-gd

That’s it, your server is ready to install Quick.Cart.

Go to their official website and download the latest script to your server


Create a new directory for Quick.Cart in the document root on the server

mkdir /var/www/html/quickcart

and unzip the downloaded zip archive into the newly created directory

unzip home.html? -d /var/www/html/quickcart

All Quick.Cart files must be owned by the Apache user. Change ownership by running the following command

chown -R apache:apache /var/www/html/quickcart/

We will now create an Apache virtual host so that you can access Quick.Cart from your domain.

Create a file ‘/etc/httpd/conf.d/vhosts.conf’ with the following content:

IncludeOptional vhosts.d/*.conf

Create directory ‘vhosts.d’ if not already created.

mkdir /etc/httpd/vhosts.d/

and create a virtual host with the following content

vim /etc/httpd/vhosts.d/

<VirtualHost YOUR_SERVER_IP:80>
ServerAdmin [email protected]
DocumentRoot "/var/www/html/quickcart/"
ErrorLog "/var/log/httpd/"
CustomLog "/var/log/httpd/" combined

<Directory "/var/www/html/quickcart/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Save the file and restart the web server for the changes to take effect

systemctl restart httpd

Once all of the above steps are completed, you should be able to access the new website at In order to access the admin panel, add “admin.php” at the end of the URL ( The default login for the account generated by Quick.Cart are admin / admin. You must change the admin password immediately after logging into the admin panel. It is also recommended that you change the name of the admin.php file for security reasons.

You can change the filename with the following command

mv /var/www/html/quickcart/admin.php /var/www/html/quickcart/my_login.php

Now you can access the admin panel at

PS. If you liked this post, please share it with your friends on social networks using the buttons on the left side of the post, or just leave a comment below. Thank you in advance.