Page 1 of 1

Fast CGI mode for Opencart

Posted: Sat May 05, 2012 3:49 am
by nodric
I had an issue today with one of the image folders I had created. I was unable to change permissions, or add filesd to the folder.

My ISP wrote the following.
It looks like this folder was created by PHP running in module mode as
it is owned by the webserver. I've chown'ed the webspace so that you can
access the files, but you may need to either switch the site to run in
fastcgi mode, or set the permissions to 775 again on folders that need
it so that the webserver can write to the files again. I'd recommend
switching to fastcgi to be honest as this is a more secure mode and
means you don't have to change any permissions.
Can on of the devs guide me on this. Can OC run in fastcgi?

Is this something on OC side or the host side?

Thanks,

N

Re: Fast CGI mode for Opencart

Posted: Sat May 05, 2012 10:27 pm
by nodric
I've spoken further to my isp and this his some additional info he has given me.
You will need to set the group write
permission on any folders that need to be written to by the php script -
but that isn't required if you run in fastcgi mode. Having files
writeable by the webserver is a security risk and I recommend switching
to fastcgi if you can.
I can switch FastCGI on myself from my hosting settings, but what do I need to do in OC for this to work?

Thanks