1. Home
  2. Docs
  3. User Guide
  4. CMS
  5. How to Setup opencart on CWP

How to Setup opencart on CWP

OpenCart is free open source e-commerce platform for online merchants. OpenCart provides a professional and reliable foundation from which to build a successful online store.

Step 1. system Requirements

OpenCart requires certain technical requirements to be met for the store to operate properly

  • Web Server (Apache suggested)
  • PHP 5.4+
  • Required PHP libraries / modules

      Curl
      ZIP
      Zlib
      GD Library
      Mcrypt
      Mbstrings
      Xml
  • Database(MySQLi suggested)
  • To ensure the above requirements are satisfied, the following needs to be done:

    install PHP 5.4 or higher and the required extensions

  • For PHP-FPM:
  • Go to PHP settings > PHP-FPM Selector(NEW) > choose required version to build and install( will take maximum of 10mins).you can also click on Options List to ensure all required extensions are checked.Those that are not checked should be checked and save configuration.You can then proceed to build and install

  • For PHP-CGI:
  • Go to PHP settings > PHP version switcher > select PHP version and ensure all the required extensions are checked. Save and Build

    Install supported webservers

    Go to Webserver settings > Select webservers > select the your option.If you are using PHP-FPM, select the appropriate version and save and rebuild Configuration.

    Step 2: Download drupal

    Download the latest version of drupal from www.drupal.org/download and unpack the compressed file.
    In this guide i used the latest version which is 8.7.0.

    Use file manager or FTP to upload onto your to your Doc-Root – which will probably be /home/username/public_html.

    Step 3: Create database

    cwp.user left menu –> SQL services –> MySQL Manager –> Create database and database user.
    Enter database name and the password that will be used for the user.
    After creation, click on List Databases and users , you will see the database name and database user automatically created.

    After, run the following command on your terminal to disable Options as this is already created in the vhost file.

    # cd /home/username/public_html
    # sed -i 's/Options/#Options/g' .htaccess
    

    Note: Please replace username with the actual username

    Step 4: Install the Drupal using the Web Setup Wizard

    Start the drupal web installer by opening your favorite browser and browsing to the site’s domain name. For example, http://www.yoursitename.com and you will see the installation screen

    Was this article helpful to you? Yes 3 No 1