Questions tagged [laravel]

99 questions
0
votes
0 answers

Server architecture for high traffic system

we are working on the online exam system, which supposed to have much traffic at the same times, more than 15000 students will log in and make an exam at the same time, we are developing this system using laravel + MySQL database. recently we…
0
votes
1 answer

Laravel Mailtrap SMTP Crack

I have an older Laravel 5.7 project handed to me. Laravel's current version is 8. I don't know if these details are relevant to my problem, but I'm adding them anyway. I have a test server running off an IP address (no domain) for the clients to see…
0
votes
1 answer

How to configure nginx better to reduce redundant system calls when APIs are called?

I have a Laravel application running in production, and there are a few APIs that used a lot. Something was creating a bottleneck and it used to stall our servers (3 with Load Balancer). After optimising the basics in Laravel, caching config,…
Rohan
  • 135
  • 3
  • 12
0
votes
1 answer

laravel shows error when sending email using tls and my own postfix/virtualmin server

We have installed our own postfix/virtualmin server and we have a laravel application,the problem is when we use external smtp servers, it is not problem to use tls option, and the emails are getting sent ok, but when using our new smtp server, when…
logax
  • 129
  • 3
  • 14
0
votes
1 answer

Laravel Vapor reaching limits with Queue and not clear what a solution can be

I'm new to Serverless hosting on AWS. I configured a working serverless environment via Laravel Vapor, but with some issues on a high load. A high load is 10k requests within seconds, all doing a change in the database. I use a PostgreSQL-database…
user1469734
  • 101
  • 4
0
votes
0 answers

Installing PCNTL module for PHP7.4 on Amazon Linux

I'm using amazon linux2 and trying to install pcntl extension for php7.4.9. There are no package for pcntl after run yum search pcntl, so I manually copied file pcntl.so to /usr/lib64/php/modules and created /etc/php.d/20-pcntl.ini, file. But I got…
HoangNK
  • 1
  • 2
0
votes
1 answer

Nginx Serving Downloads of PHP Files Instead of Executing Them

I have a Laravel app I'm trying to serve with Nginx but when I navigate to my domain, all I get is a file called "download" which downloads automatically, with the content's of Laravel's public/index.php. No Laravel app is being served. Here's my…
GTS Joe
  • 199
  • 2
  • 10
0
votes
0 answers

Laravel websockets package connection refused?

I using laravel websocket package aspusher replacement. First this ubuntu was not allowing to access the port 6001 then I add Inboud securoty group rule on aws . Now it is allowing to access the port but still not allowing to flow data thorug these…
0
votes
0 answers

Redis issue showing me `moved` while configuring redis in laravel app

I have two servers containing the same laravel application and both are connected with a load balancer. Everything works well with the same RDS. To make the site faster I have created a Redis cluster on Elasticache and added the endpoint on the…
MD Nasirul Islam
  • 145
  • 1
  • 12
0
votes
1 answer

App Engine connection to PostgreSQL Database suddenly lost

App Engine connection to PostgreSQL Database suddenly lost My App Engine connection to its CloudSQL Database doesn't work anymore. Till yesterday (26/08/2020) I was able to use my App Engine website normally. Suddenly something has changed and it…
0
votes
0 answers

Best practice in Redis is to rename the command 'FLUSHDB'. But now I get an error with Laravel when I want to clear the cache

In Laravel, you can set the cache to Redis. However, when I clear the cache with php artisan cache:clear, I get the error: ERR unknown command 'FLUSHDB' I know what the problem is because I have disabled the command as one should do for best…
Philipp Mochine
  • 165
  • 1
  • 12
0
votes
1 answer

Deploy Laravel and Socket IO into Nginx

I've deployed my Laravel project that using socket io on nginx here is the server spec : NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7…
0
votes
0 answers

Email has different ip for sendor when it ends up in spam than when it ends up in inbox. How?

I have a simple vps server that i'm using to send confirmation emails from. The problem is that sometimes when i send a confirmation email it ends up in spam with sender ip different than the ip of a sender when it ends up in inbox. When i type…
emma
  • 103
  • 2
0
votes
1 answer

Laravel events behind load balancer - how to make the event visible to all the servers in the autoscale group

I have an application running Laravel 6.1. There are clients which connect to it via laravel websockets and listen for events. I have an external service which sends post requests to this server which will then raise an event, and the websocket…
Angelo
  • 111
  • 1
  • 4
0
votes
1 answer

Choosing Google App Engine Standard vs Flexible Environment for Laravel Application?

I am deploying a Laravel app (content management system) on GCP App Engine but I am not sure what are the advantages or disadvantages of standard vs flexible environment and how it would impact a Laravel application. The application will not have…
Coola
  • 103
  • 4