I have a ubuntu vps I am working on. And I am using the default /var/www/ domain, I am also hosting a SMF forum, None of the Packages are installing and such. I was just wondering what I should chown and chgrp everything so that PHP can modify files in a Apache2 WebServer?
You're looking at major security issues with this. PHP would require shell access to reboot apache which I don't think it can do considering it would run a restart command in the middle of the page execution. It sounds like you need to look at other alternative.