I installed s3cmd and can run it from command line but from PHP script using shell_exec() it does not run and no error is returned. I suspect that the reason is that the PHP user is 'apache' and not the root user. My qustion is : how can I install s3cmd (I used Yum Install) on Centos5 so that the PHP script will be able to run it? Thanks, Niro
you can also use passthru, exec and system to run commands, these are better options as they provide u with feedback on the success or failure of the command.
I used passthru and system and the feedback It gives is '1' (using the extra parameter that returns the output). Please help - Nir