I've got a dedicated virtual server that I use for a testing environment. It comes with Plesk so I can handle most everything I need to do from there...I'm admittedly lame and don't know much about linux itself, but I do everything in PHP so I'm trying to get it all figured out.
When I first launched this new server I was having a problem where all of my open source apps (wordpress, opencart, etc) weren't working well because of all sorts of permissions issues. I learned that I needed to switch my server from Mod to FastCGI in order to allow the FTP users ownership of directories and fix this problem...which it did.
Now, though, I'm having an issue with a fresh install of OpenCart where I'm getting the following error...
Warning: session_start(): open(/var/lib/php/session/sess_2m8fs22c7rgvj3fdmpokqvfpc3, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/developersandbox.net/demo_opencart/system/library/session.php on line 11
So now I'm guessing that the problem is my /var/lib/php/session directory is still owned by the 'apache' user instead of allowing FTP users access to it..?? Am I on the right track?
Whether I am or not I'm unsure how to fix this. I'd like to make sure I can fix it so that any site created on this server doesn't have this problem.
Any information on this would be greatly appreciated. thanks!