Questions tagged [laravel]

90 questions
3
votes
2 answers

Email smtp credentials keep getting compromised every now and then (laravel 7)

Just as the title says, we have a website that uses third party smtp credentials to send emails, but, we keep getting our smtp credentials hacked and used to send spams emails, which results in our smtp account suspension, we first used ses, and…
logax
  • 99
  • 1
  • 14
2
votes
1 answer

Laravel View Cache location

Sorry if this seems trivial, but I need to be sure: Where does Laravel 6 store the view cache? On the cache server or in the storage folder? Does it get stored in my redis if I set it as the cache server?
user555609
2
votes
1 answer

MYSQL is at 197% CPU usage ~ not allowing site to run

Spec: 8 GB memory / 4 vCPUs / 25 GB ssd Ubuntu 20.04 My website got hit with a DDoS recently and had this continuous high CPU usage error for 4 days and the site will not load up, I take a look using top -c and it showed 200% CPU usage. I tried SQL…
2
votes
0 answers

How to configure multiple workers for laravel queue with systemd

I am running queue for my laravel app using systemd. Here's my service file [Unit] Description=Mosharaf isdp…
mosharaf
  • 121
  • 2
2
votes
0 answers

Setting up Lavarel with Podman, but the php user can't write to my mounted directory

I've set up a laravel project on Fedora using Podman. For this I wrote a small script that attempts to replace the build process usually done by sail. #!/usr/bin/env bash if [ -f ./.env ]; then # Surce .env so Laravel's env variables are…
Buzu
  • 121
  • 2
2
votes
1 answer

Is DynamoDB latency almost the same as RDS latency?

I am exploring using AWS Lambda through Laravel Vapor. Avoiding the use of Redis can save us ~$56/mo (t2.small at ~$24, NAT Gateway at ~$32). Instead of Redis, I plan to use DynamoDB which is much cheaper. Pretty much same thoughts to this thread…
2
votes
1 answer

stackdriver severity in GKE sending all to stderr

Tell me whether it is possible to make a separation by severity in stackdriver. All messages in the container are displayed in stderror and in stackdriver, they are marked as errors. The task is to separate messages from logs (laravel) into…
James M
  • 200
  • 1
  • 2
  • 12
1
vote
0 answers

Laradock + Standalone NginX

I have a Laravel project that needs PHP 7.1 but on the server, we use 7.2. We have separate nginx config files for each project and they all work fine. I've decided to go laradock and serve PHP 7.1 for the project. Starts up like a charm out of the…
Bert
  • 984
  • 1
  • 11
  • 29
1
vote
2 answers

Authorization Header Missing Upon NGINX Proxy Pass to subdomain

Hi I'm running Laravel on NGINX server and I would like to use NGINX reverse proxy capability as an API gateway for my Laravel and other node API application. Here are my configurations: Application URL: staging-app.example.com Application API…
1
vote
0 answers

Increase PHP's upload_max_filesize in Apache

I have a Laravel app and I need to increase PHP's upload_max_filesize, but rather than do this for the entire app I wanted to apply it to a specific route/location. I am running Apache 2.4. In the past with something like WordPress I would put this…
MrCarrot
  • 345
  • 1
  • 4
  • 13
1
vote
0 answers

nginx 502 error for api call from application but working in postman and curl request

Environment: Laravel Version: 5.8.29 PHP Version $ php --version: PHP 7.2.24 (cli) NGINX Version $ nginx -v: nginx version: nginx/1.14.0 (Ubuntu) Problem Statement: Everything works fine, except for one particular API where I include in the…
Maqsud
  • 111
  • 2
1
vote
1 answer

Laravel route (voyager and others) shows 404

I Use Apache 2.4.41, on WSL2/Ubuntu. There I have a laravel project, with Voyager installed. I also use a virtualhost(vh) for it. Accessing the App url http://myapp works. However - The Voyager app at http://myapp/admin fails with 404 error. My…
yossi
  • 139
  • 1
  • 6
1
vote
1 answer

Dockerized Laravel application with volume on AWS Fargate issue

this is my scenario, I have a Laravel 8 application that I'm trying to deploy using AWS ECS through AWS Fargate. This is the useful part of my dockerfile: ### ... Previous composer and npm stages FROM php:8.0-cli-alpine # Concatenated RUN…
1
vote
1 answer

Why I got errors running redis in laravel app?

I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app I installed and in file /etc/redis/redis.conf I uncommented line : requirepass foobared in .env I modified redis config…
mstdmstd
  • 111
  • 1
1
vote
0 answers

creating a local nginx subdomain for laravel

I currently have a working reverse proxy to a local domain: https://domain.test with an entry in /etc/hosts 127.0.0.1 domain.test https://domain.test goes to an spa website while https://domain.test/api goes to a laravel to handle all api calls. I…
gmhafiz
  • 11
  • 1
1
2 3 4 5 6