Im running a ISP-Config 3 on Ubuntu 14.04 setup where with customer web-sites that allow the customer to upload files (via website). However. When the customer uploads a file via the website, the file owner becomes www-data, and not web11(for example). This results in the quota not showing the right numbers. Anyone can think of a fix to this? Can files be saved as a different user than apache runs as? If so, can apache still access the file if the user later decides to delete the file via the website? Ideas please!
Most likely you use a wrong php mode. Ensure that you use php mode php-fcgi or php-fpm and that suexec is enabled in the website.
Changed to PHP-FCGI and Enabled SuEXEC on a testtite, this seems to have solved the problem! Thanks!!