Uploaded files are owned by apache, I have DirectAdmin installed and also mod_suexec is loaded into Apache. So is there anyway to upload file with account owner under mod_php(php5_module)?
locked by HopelessN00b Apr 3 at 17:35
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.
Your question is not completely clear. If I get it:
No. You can run Apache as a particular user, but then all scripts will run at them (including all PHP ones), which probably isn't what you want.
If you want to have PHP scripts run as their respective user, you'll need to use suPHP. mod_php simply wasn't designed for this.