Tuesday, 3 September 2013

How to run command rsync to remote server on php web server nginx with user nginx

How to run command rsync to remote server on php web server nginx with
user nginx

<?php
exec('/opt/rsync.sh');
?>
It just run rsync local web nginx with user nginx but not rsync code to
remote server other. I think the problem is permission user nginx. help
help me fix . thanks

No comments:

Post a Comment