OpenCart system uses its several directories dynamically to create, change, and delete the files when needed. Because of this, we have to be sure that the correct file permissions are applied on these files and folders.
Now, let's see how we will set the permissions using cPanel File Manager:
Some hosting systems require 777 permissions for OpenCart to work properly. If the installation screens which we will soon learn give such unwritable errors, then we should set permissions to 777 and try going through with the installation screen again.
The following screenshot shows that all these directories are set to 755 properly, but config.php
file is not set to 755:
config.php
file. Let's select Change Permissions:We have set the needed file and folder permissions to 755. It was needed for OpenCart to install and operate correctly. Depending on our hosting provider's linux settings, we might need 777 as well.
Curious readers can learn more about server security on this http://www.unix.com/unix-dummies-questions-answers/33137-chmod-777-security-risks.html link.
18.226.34.25