I'm running Debian 7 on my VPS and I want to have a PHP scripting that would allow me to do the following thing:
I have a MTA server and I have logfiles in a separate directory (/root/mta/resources/logs) and the website is obviously in /var/www, how would I go around moving the log.txt file from the MTA location to /var/www ?
Is it possible to do this via PHP only or .sh would also be required ?