Questions tagged [laravel]

99 questions
0
votes
0 answers

Laravel App on Server takes high CPU

I have a larvel app that runs very smooth and quick on my localhost, but when I push it to my server and run the deployment environment there (same as on my localhost), sometimes the app is very slow and in htop I see: /us/bin/php8.1 -S 0.0.0.0:80…
0
votes
0 answers

Laravel page loads over 1s in production (while blazing fast locally on my dev macbook)

I've shipped my Laravel based platform to a production server but with little to no users online page loads are still above 1 second, around 1,5s. There's little to no data in the database. I've optimized with the several php artisan cache commands.…
Ben Fransen
  • 143
  • 1
  • 9
0
votes
0 answers

Issues with DB2 encoding using Laravel on Ubuntu 20.04

Recenlty i finished a development phase in WSL with Ubuntu 20.04. Now i'm migrating the project to a live Ubuntu in the same version (20.04) I'm having issues with the encoding, in WSL i see the special characters (for example, á) but when i change…
Nicot3
  • 1
0
votes
0 answers

Blocked loading mixed active content laravel script nginx ubuntu 20.04

This is my virtual host configuration server { listen 877; listen [::]:877; root /wbs/carpool/www/public/; index index.php index.html index.htm index.nginx-debian.html; server_name example.com…
0
votes
1 answer

Windows Server: First request very slow, subsequent requests normal

I’m developing a Laravel website which is to be deployed to Windows Server 2019 (IIS) running SQL Server, hosted on a VPS with Plesk. I recently deployed the site to a password-protected testing subdomain on the server to make sure everything works…
0
votes
1 answer

How to setup correct .htaccess for laravel app on subdomain?

I moved my Laravel application from the development localhost to an internet production subdomain. On localhost everything works. But when I move app to subdomain it seems .htaccess can not handle redirects correctly. When i type to browser…
Sahasrar
  • 3
  • 1
  • 3
0
votes
0 answers

nginx working fine in localhost but show 404 on server

i have a laravel based project that i have to host on digital ocean using docker. docker is working fine on localhost but shows 404 on server but phpmyadmin working fine on server as well which is running on 8080 port. Here's my docker-compose.yml …
rootShiv
  • 101
  • 2
0
votes
0 answers

link custom domain (name.com) to Azure vm laravel & nginx

Good day, I have a Laravel application on an Azure Virtual machine using Nginx in the ubuntu VM. I wanted to link it to the custom domain I purchased on name.com... Those are the steps that I did so you can track with me the issue because I ran out…
Rose Riyadh
  • 101
  • 3
0
votes
1 answer

Sail up for a cloned laravel project does not work

I have Windows 10, WSL2, and Docker. I've cloned a repository from GitHub, and when I try to sail up, I get this message: /usr/bin/env: ‘sh\r’: No such file or directory. The following is from the laravel website which I believe is the solution to…
r j
  • 1
  • 2
0
votes
1 answer

Why is my Laravel App having 3+ seconds TTFB in Production?

I've looked around but can't find a definitive answer on if things like Images affect TTFB which would be my best guess as to why my site is taking so long to load in production. After the page is completely done being received, I see it's…
dan178
  • 113
  • 5
0
votes
1 answer

Nginx: proxy_pass path of domain to different web server

We plan to upgrade our web application from php native based application to PHP Framework based (Laravel) to enhance application security and performance. My task is to split traffic where every request pointed to domain app.localhost without…
Abu Dawud
  • 11
  • 3
0
votes
2 answers

nginx large file upload limit

I am using Laravel Forge to manage my server and I had a problem with uploading large files with livewire. after 100 seconds uploadng fails and shows this error: net::ERR_HTTP2_PING_FAILED and sometimes: ERR_CONNECTION_RESET my PHP timeout is 1000…
0
votes
1 answer

Apache server is very slow for high traffic

I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge. My application is developed in Laravel, I am using RDS. I am having 300,000 visitors per day and…
0
votes
1 answer

My laravel .env file is downloadable via ip access! How to solve this on litespeed server?

hello I am creating a new laravel project with Openlitespeed server and I saw a glaring security issue. I've added the following rule to the .htaccess of the site root and it works fine by stopping when someone tries to download the .env file by…
user3416348
  • 11
  • 1
  • 3
0
votes
0 answers

Convert .htaccess rules to nginx format

I bought a ready-made Laravel script that was developed to run on Apache server, and the developer doesn't support to Nginx rewrite rules. Can someone help me? When I try to access the system on my Nginx server it gives multiple redirects error.…
user3416348
  • 11
  • 1
  • 3