Questions tagged [laravel]
104 questions
5
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
- 149
2
votes
2 answers
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…
ChimpyMonk75
- 21
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…
mosharaf13
- 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
- 4
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…
jcsoriano
- 121
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
- 230
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
- 1,106
1
vote
0 answers
How can I make reverse proxy for websocket requests on apache
I have a website written on Laravel with Reverb for websockets. Everything works except websockets. They are sent from the browser to the server in the form wss://mydomain.com/app (which throw an error). Server listen on 0.0.0.0:8080 for them. For…
Jivko Jelev
- 11
1
vote
1 answer
How to successfull configure nginx for laravel reverb websocket?
Triying to setup ssl for laravel reverb using nginx on ubuntu
Laravel reverb docs
/etc/supervisor/conf.d/websockets.conf
[program:websockets-l11]
command=/usr/bin/php /var/www/l11/artisan…
1
vote
1 answer
How to track down company wide connection issues to a specific web location?
I've tried asking on StackOverflow without success so I hope I this community can help me track down this issue. We have a web app that many people in the company need to access. Occasionally the web app seems to stop responding to requests.
For…
PeterTheLobster
- 111
1
vote
1 answer
Nginx returning 404 on new installation
On Linux Mint 20.3 I had working setup for my local development of website:
server {
listen 80;
listen [::]:80;
server_name cbp.local;
root /home/gacek/html/cbp/public;
index index.php;
location / {
…
Gacek
- 85
1
vote
0 answers
need nginx to be able to check directory outside of root directory
I have a Laravel app that works perfectly fine when running with php artisan serve but when trying to use nginx as the frontend I'm having all sorts of trouble getting this to work properly.
I basically have this…
1
vote
1 answer
How to install PHP Sodium on Ubuntu 22.04
I'm running a Google Cloud server running Ubuntu 22.04. It's a typical LAMP stack (PHP is version 8.1.2). Some of the websites on the server are using Laravel 8.
I recently upgraded one of the websites to Laravel 9 and I received the following…
Adam
- 113
- 1
- 1
- 4
1
vote
1 answer
Laravel Valet 502 Bad Gateway when using Eloquent in php8.0
I've got a Laravel 6 application that I'm serving in Valet, I've just upgraded to php8.0 and I'm getting a 502 Bad Gateway error. But curiously only on pages that are using the Eloquent database models, the DB query builder pages seem to run…
Mark Tierney
- 11