Output of
Code: Select all
uname –a
Downloaded opencart 2.3.0.2 and uncompressed to /var/www/html/opencart
Output of
Code: Select all
ls -l /var/www/html/
While trying to install Opencart, I am getting this issue
/var/www/html/opencart/config.php Unwritable
/var/www/html/opencart/admin/config.php Unwritable
/var/www/html/opencart/image/ Unwritable
/var/www/html/opencart/image/cache/ Unwritable
/var/www/html/opencart/image/catalog/ Unwritable
/var/www/html/opencart/system/storage/cache/ Unwritable
/var/www/html/opencart/system/storage/logs/ Unwritable
/var/www/html/opencart/system/storage/download/ Unwritable
/var/www/html/opencart/system/storage/upload/ Unwritable
/var/www/html/opencart/system/storage/modification/ Unwritable
Doing some R&D via google, I found that need to set chown –R apache: /var/www/html/opencart.
I did so and changed the owner of opencart folder and got all folders writable and installation was complete.
However while using ftp, using ec2-user, don’t have write permission.
Also I want to keep my opencart installation secure, so won’t be able to set 0777 permission to Opencart Root folder.
Please suggest me what should be the owner, and also my ftpuser "ec2-user" should have all access permission.