Category : amazon-elastic-beanstalk

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

I’m hosting a laravel page on aws elastic beanstalk. For queueing I’m using SQS. I want to execute php artisan queue:work on the server by writing it into my init.config file in the .ebextensions folder. Now this works once: After the code is deployed every job in the queue gets executed but after that when ..

Read more

In deploying a new app to EB, I found that the .ebextensions files that concern httpd are not being deployed to /etc. The files as such are the same as the ones from another app, like this one: /.ebextensions/cors.config files: /etc/httpd/conf.d/cors.conf: mode: "000644" owner: webapp group: webapp content: | SetEnvIf Origin "^https?://localhost:[0-9]+.*|https?://127.0.0.1[:[0-9]+]?|https://mywebsite.com" REQUEST_ORIGIN=$0 Header always ..

Read more

I have uploaded my codeigniter project to aws elastic beanstalk and i am trying to upload an imagefile and an audio file after the image is done uploading. Now the image upload is a successful one and below is the code $path = $_FILES[‘thumbnail’][‘name’]; $file_temp = $_FILES[‘thumbnail’][‘tmp_name’]; $ext = pathinfo($path, PATHINFO_EXTENSION); $new_name = time() . ..

Read more

Generally speaking when wanting to see the routes locally I’d use php artisan route:list That worked fine when I wasn’t dealing with files that use environment variables which are declared differently between my local environment and the server. Now I get PHP Notice: Undefined index: VARIABLE_NAME in ….php on line 12 Notice: Undefined index: VARIABLE_NAME ..

Read more