Category : amazon-web-services

I’ve been looking it for at least few hours and I was unable to find a solution, so I would like to ask for your advice. I have a docker-compose.yaml file: version: "3.5" services: php: build: context: dev/php – ./source:/application nginx: build: context: dev/nginx depends_on: – php volumes: – ./source:/application – ./dev/nginx/nginx.conf:/etc/nginx/conf.d/default.conf ports: – "80:80" ..

Read more

I am a bit new to aws I used aws elastic beanstock to create a php 7 deployment for a laravel project which runs perfectly on my laptop. then uploaded my laravel project files, edited the .env file Now I’m getting 404 Not Found error On the elastic beanstalk console, the health of the server ..

Read more

The array is working fine on local machine and loops through the images but it fails to work on the aws server. It says "Trying to access array offset on value of type null". <?php $image1 = get_field(‘add_image’); $image2 = get_field(‘add_image2’); $image3 = get_field(‘add_image3’); $images = array($image1, $image2, $image3); ?> <?php $count = 0; ?> ..

Read more

I have the following structure in my AWS S3 Buckets. With this code, I get the listing of ALL the objects under rootfolder/ My question is: How to list all the objects from the first level (colored in red.) With the following code below, i get an output like: rootfolder/hi.pdf rootfolder/creds.txt rootfolder/photo.png rootfolder/folder2/ rootfolder/folder2/creds2.txt rootfolder/folder2/account.pdf ..

Read more