Not all web hosting providers allow access to the command line. Sometimes, it may be disabled by default but will be activated on request.
If in doubt, you should open a ticket with your hosting provider.