- This is for new installation only
- These instructions are for a manual installation using FTP, cPanel or other web hosting Control Panel.
If you are upgrading your existing cart, be sure to read the upgrade instructions instead
-
Upload all of the files and folders to your server from the "Upload" folder, place them in your web root. The web root is different on some servers, cPanel it should be public_html/ and on Plesk it should be httpdocs/.
-
Make sure your web user has the permission to read, write and execute all directories under the web root.
-
Rename config-dist.php to config.php and admin/config-dist.php to admin/config.php
-
For Linux/Unix make sure the following folders and files are writable.
chmod 0755 or 0777 config.php chmod 0755 or 0777 admin/config.php If 0755 does not work try 0777.
-
Make sure you have installed a MySQL Database which has a user assigned to it
- do not use your
root
username and root password
- do not use your
-
Visit the store homepage e.g. http://www.example.com or http://www.example.com/store/
-
You should be taken to the installer page. Follow the on screen instructions.
-
After successful install, delete the /install/ directory from ftp.
-
If you have downloaded the compiled version with a folder called "vendor" - this should be uploaded above the webroot (so the same folder where the public_html or httpdocs is)
-
Upload all the files and folders to your server from the "Upload" folder. This can be to anywhere of your choice. e.g. /wwwroot/store or /wwwroot
-
Rename config-dist.php to config.php and admin/config-dist.php to admin/config.php
-
For Windows make sure the following folders and files permissions allow Read and Write.
config.php admin/config.php
-
Make sure you have installed a MySQL Database which has a user assigned to it
- do not use your
root
username and root password
- do not use your
-
You should be taken to the installer page. Follow the on screen instructions.
-
After successful install, delete the /install/ directory.
There are many all-in-one web servers out there and most of them should work with OpenCart out of the box.
Some examples...
- http://www.apachefriends.org/en/xampp.html
- http://www.ampps.com/
- http://www.usbwebserver.net
- http://www.wampserver.com/en/
Godaddy Issues
If your hosting on godaddy you might need to rename the php.ini to user.ini
It seems godadddy has started changing the industry standard names of files.
When your site is ready to go live open file system/config/default.php
Find:
$_['error_display'] = true;
Replace with:
$_['error_display'] = false;
From version 2.2 composer has been added to aid developers who want to use composer libraries. 2 versions of OpenCart will become available, one compiled and one non-compiled (composer.json only - no files in vendor folder).
We STRONGLY advise leaving the vendor folder outside of the webroot - so files cannot be accessed directly.
Installing is extremely simple, follow the instructions HERE