1. Home
  2. Docs
  3. User Guide
  4. CMS
  5. How to setup Magento on CWP

How to setup Magento on CWP

Magento is an open source E-commerce software, which is useful for online business. It provides online merchants with a flexible shopping cart system, as well as control over the look, content and functionality of their online store. Magento offers powerful marketing, search engine optimization, and catalog-management tools.

Magento can be installed on a CWP server and the below steps provides a guide on how to install and setup.

System Requirements

  • A server with minimum RAM of 2GB – This is essential for the smooth running of your magento Website
    1. 1. PHP version 7.1 or higher is installed and the following extensions enabled:
      curl
      iconv
      mbstring
      dom
      hash
      openssl
      xmlwriter
      pcre
      json
      gd
      bcmath
      simplexml
      spl
      xsl
      intl
      ctype
      pdo_mysql
      soap
      zip
      libxml
      phar

    install PHP 7.1 or higher and the required extensions:

  • For PHP-FPM:
  • CWP.Admin left Menu -> PHP settings -> PHP-FPM Selector(NEW)(PHP 7.1 or higher) -> start compiler(build and install)
    Note: To Ensure all the required extensions are check,select the options list on a particular PHP version and check those that are not checked.click save custom configuration and start compiler(build and install)

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

    Install supported webservers

    CWP.Admin left Menu -> Webserver settings -> Webserver Domain Conf -> Select username -> select the domain and create configuration -> Select appropriate webserver option and the required PHP version -> and save and rebuild Configuration.

    Downloads the Magento software.

  • Download the compressed file that contains the Magento software from this link
  • Unpack the software into your DOCROOT
  • To upload via File Manager; CWP.User -> File Management -> File Manager -> Click on public_html -> upload. After decompress the compressed file.

    Warning!
    If you unpack the files on your own computer and want to upload the files via FTP to your server, be sure to move only the folders and files contained INSIDE the compressed file. If you unpack the folders and files into a folder, for example called, magento and then upload that folder, your site will have to be accessed at yoursitename.com/magento instead of yoursitename.com.

    Note: In the latest version of cwp we don’t allow any more to use “Options FollowSymLinks” in the .htaccess files as this is a security issue.
    In your User Panel, CWP.User -> File Management -> File Manager -> Click on public_html and locate .htaccess and edit
    Replace Options +FollowSymLinks with Options Indexes SymLinksIfOwnerMatch and save.

    Installs the Magento software using the Web Setup Wizard
    Start the Magento 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 2 No 1