PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If you output $command and run it yourself, does it work?
You have output redirection which means it will try to create a file - are permissions set up correctly for the containing directory?
Try a different command from system(), one that will let you capture stdout and stderr, and check those for error messages.