1 Answer
- Newest
- Most votes
- Most comments
1
Based on your description, it is not clear where you PHP app is running. EC2, on-premises, etc?
Was your CLI test from the same server? or from a workstation? Your test seem to take out permissions (IAM/bucket policy) as a cause.
My first thought is that this is network related from the PHP app server to S3. I would examine this and look for changes.
Hope this helps.
Relevant content
- Accepted Answerasked 3 months ago
- asked 6 months ago
- asked a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
Thanks for your reply, We PHP app is running on ec2 instance. I am able to connect and upload the file from same ec2 instance (where the php app is running ), also i am able to connect & upload data from my local machine using AWS CLI ( same secret key i have used to connect which we are using in app.) It start working when i changed the bucket. There is no network related issue from php app to s3.