LiteCommerce:After the Installation

From X-Cart 4 Classic
Jump to: navigation, search
Warning.png This article refers to LiteCommerce 2.x only. For user manual to LiteCommerce 3.x, please visit this website.

If your server settings prevent LiteCommerce from changing file permissions automatically ('PHP FTP support' checkup fails during the installation, see Figure 1-13), for security purposes you must manually change permissions on certain files and directories before you can launch your online store.

  • If your server is UNIX-based: Access LiteCommerce installation directory at your web server via FTP or command line, or use the Control Panel utility supplied by your ISP to change certain file access permissions. To set the required file permissions, issue the following commands (for further details on changing file permissions, run 'man chmod' command in your UNIX system or see your FTP client reference manual):
chmod 755 .
chmod 644 etc/config.php
  • If your server is Windows-based: Use file management tools (Control Panel utility or other) supplied to you by your hosting provider to set the necessary permissions (you might want to consult your hosting provider for details on how to do this). LiteCommerce installation directory and the 'etc/config.php' file within it must now be configured to be unwriteable and undeletable by the owner user of the web-server application while remaining writeable and deletable by the file owner (you). If you do not know how to do this on your server, please consult our installation services for assistance.

For security purposes after the installation is complete, the 'install.php' script is renamed into a PHP file, which has a filename comprised of 32 hexadecimal figures (1-9 and a-f) followed by '.php'. In order to use the 'install.php' tool again, locate the aforementioned file on the server and rename it back into 'install.php'.