I need to write an exec to change owner on some folders on my webserver. This is what I am working with.
exec('cd /xxxxx/xxxxxx/public_html/ && chown user.user * -R', $out);
Got to be honest Apache is not my bag so kind of stumbling in the dark. Basically I need to change all directories to user and not 99 as they currently are set to when they are created. The php chown() function has been disabled so Ive got to go old school.
Steve
chownusually not available for common users. You have to re-upload your files to the server. Also, you have to place-Roption before user.group.