Hello, sorry, but my english is not very good. I have a new VPS where I install ISPc3. I set up a new DotClear site. The problem is that the Client1 user does not have write permission. When I look at the PHP User here is what I find: get_current_user () = root print_r (exec ('whoami') = www-data How to solve this problem ? For now, for the site to work I give the right to write to all: a + w that's not really good. Thank you for your help
When setting up website, tick SuEXEC. Use the FTP or SSH user set up for that website to write files there. Then website files have correct permissions and the web server runs as a user that has the necessary access rights.
The suexec option applies to all PHP modes except mod_php. So php-fpm and fastcgi are both fines as php modes.
Thank you for your answers suEXEC is ticked, and I do FTP file transfer with the right user. I have been using ISPc for a long time, but I have never had this problem. even when php-fpm matt it does not work
it's the same result with fast-cgi or php-fpm when I run the site, I get an error message, it can not access the cache