AWS SDK tutorial for PHP with InmotionHosting

Avatar
  • updated
  • Answered

When searching for "AWS SDK tutorial for PHP with InmotionHosting" in Google, it brings me to an article that says "Unfortunately Composer requires a level of access that is not given to individual accounts and cannot be installed on our shared servers.That was in 2014.

https://www.inmotionhosting.com/support/questions/en/communities/1/topics/9385-installing-composer-for-aws-sdk-for-php

Besides the Google search, when writing the headline for my question here, the forum actually tries to deter me from asking the question, bringing up that relevant "answered" old question. Is that answer now incorrect? If so, for other searchers I would suggest a new reply, a redirect, or delete it entirely. Wouldn't be surprised if people decide they must use a different host to a detrimental answer like that.

I didn't give up and continued digging and found a much newer article from your support website that says:
"PHP Composer comes pre-installed in your shared hosting account. Once you log into your server’s command line, you can start running commands right." That was in 2020. *Excitement!!!*
https://www.inmotionhosting.com/support/website/using-php-composer-on-shared-hosting/

What I still don't understand: Does the PHP Composer have sufficient privileges to operate Amazon Web Services / AWS SDK?

The bottom line is I want to use Wasabi to store a few terabytes of files and Wasabi uses the AWS SDK.

If all of this is possible, do you have any tutorials for newbies like myself to using the AWS SDK on Inmotion Hosting (a specific article for Wasabi would be fire for me). I just logged into my shared server through Putty for the first time.


Thank you in advance!

Avatar
IMH Support Agent 2
  • Answered

Hello David,

Thanks for your questions and persistence in finding an answer to your AWS-related questions.  I will look into the 2014 post to have it updated so that the a more up-to-date answer will provide the appropriate information.  Concerning your questions:

What I still don't understand: Does the PHP Composer have sufficient privileges to operate Amazon Web Services / AWS SDK?

I asked around to verify and I was told that yes, you can use SSH to connect to AWS.

The bottom line is I want to use Wasabi to store a few terabytes of files and Wasabi uses the AWS SDK.

If all of this is possible, do you have any tutorials for newbies like myself to using the AWS SDK on InMotion Hosting (a specific article for Wasabi would be fire for me)?


We don't have many articles on this topic, but there is one about using AWS in a transfer:

AWS Transfer Guide


And I was looking for something regarding use of Wasabi with AWS and PHP and this is the closest thing that might of use to you that I could find:

How do I use AWS SDK for PHP with Wasabi


I hope this is helpful to you!  If you have any further questions or comments, please let us know.

Kindest Regards,

Arnel C.