Questions tagged [laravel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Configuring database alarms for and AWS RDS datbase

I'm using an AWS RDS MySQL 8.0db.t3.micro 100GB DB for an app and am trying to determine the best alarms to set (the Laravel application is served through Vapor and through their UI, you can receive ...
Eric's user avatar
  • 111
0 votes
0 answers
46 views

Laravel: Logging messages generated by "error_log(...)" to terminal, while running app in Apache server

The issue is this one: When I run a Laravel app from PHP server, that's it, with php artisan serve, I could see every message generated by "error_log(...)" printed in the terminal, like this:...
Leandro Caplan's user avatar
0 votes
1 answer
37 views

nginx config for SEO friendly Laravel setup

I wasn't able to find an immediate solution to the 3rd item, below, so once I'd worked it out, I thought it would be helpful to post my general config for Laravel in order to help others searching for ...
zoot's user avatar
  • 257
0 votes
0 answers
32 views

adding vlv(virtual list view) extension to openLDAP (LDAP) Server

Im currently working with LDAPRecord library in a Laravel project. I want to use a pagination function but it's required having virtual list view (vlv) extension to my ldap server , I dont quite know ...
ahmed rabah's user avatar
0 votes
0 answers
92 views

Migrating Snipe-IT asset Management from Docker to K8s

I have been running Snipe-it app (a Laravel based asset management software) on my Docker environment since a year ago, now I want to migrate it to K8s with its existing data, to move the data of the ...
Noor Muradi's user avatar
0 votes
0 answers
49 views

Laravel Crons on Elastic Beanstalk Linux AMI 2

I am running a Laravel app on Elastic Beanstalk Linux AMI 2. I am using the following config file in the .ebextensions folder to set up the cron. files: "/etc/cron.d/schedule_run": mode: &...
ackerchez's user avatar
  • 119
0 votes
0 answers
75 views

Inertiajs php artisan start-ssr not running for two app on same server

I have two applications that I have deployed to Digital Ocean using Laravel Forge. Both is building using Laravel, Vue, Inertia, Tailwindcss Stack. (inertia 1.0) When I try to start daemon for ...
shabxs's user avatar
  • 1
0 votes
0 answers
18 views

Moved app to Default Application Pool with ApplicationPoolIdentity and there are permission errors

Running a PHP 8.2 app. I changed the app to use the Default Application Pool under the user ApplicationPoolIdentity instead of the previous Custom pool and custom account, but now I get: The stream ...
pileup's user avatar
  • 229
0 votes
1 answer
53 views

GCP Cloud Build installation of composer fails because checksums don't match

The build of my Laravel 9 app is broken. During the deploy the build stage always fails because the installation of composer fails due to unmathing checksums. Build logs: === PHP - Composer - Install (...
Antonin Welvart's user avatar
0 votes
0 answers
47 views

Does Laravel tend to be much more slower than Node JS?

Does Laravel tend to be much more slower than Node JS? Or is it just me that doesn't know that Laravel have certain limiter or anything when runs in local machine (even though using production ...
Azvya Erstevan's user avatar
1 vote
1 answer
2k views

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 ...
Gacek's user avatar
  • 85
0 votes
0 answers
140 views

How to fix speed optimization of Laravel website?

I have developed a website in PHP Laravel. It is working fine but there is some core web vitals issues. I have tried to fix it but it has not done all. LCP, FCP INP (interaction to next paint) and ...
victoriaviolet's user avatar
1 vote
0 answers
185 views

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 ...
MasterOfNothing's user avatar
0 votes
0 answers
82 views

How to use Laravel Forge when SSH is blocked

I'am trying to use Laravel Forge in a Ubuntu 22.04 Server with SSH is blocked. Laravel Forge is a server management software which requires SSH to connect and manage. I found another similar service ...
SSSK's user avatar
  • 21
0 votes
0 answers
133 views

second laravel site using apache on server is not being served

I have a working laravel staging site on a DO server which uses ubuntu 22.04 and php 8.1. I am now moving it to production. I decided I'd serve this from the same server so i created a copy of the ...
ThurstonLevi's user avatar
0 votes
1 answer
6k views

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 ...
Adam's user avatar
  • 3
0 votes
0 answers
110 views

Laravel scope function for getting everyday data sum each day for a month or between 2 dates

How to get the scope function to get the sum of data of each day for a month or between 2 dates. I tried this but it did not work. public function scopeEachDayInPeriod($query, array $dates){ $...
babita's user avatar
  • 1
0 votes
1 answer
407 views

Redirect Base URL to Application Directory

I have an AWS server. I set up a Laravel project, and it's working fine. The project is under /var/www/MyProject, and when I go to myproject.com/public, I see the application (after entering my apache ...
Bad Programmer's user avatar
0 votes
0 answers
185 views

Adding another TLD to dnsmasq installed with Laravel Valet

I've got Laravel Valet set up on my Mac (Monterey 12.5.1) to run PHP based sites locally on the .test TLD. This all works as expected and everything is fine. I'm trying to set up another fictional TLD ...
Tom Hayes's user avatar
0 votes
0 answers
294 views

Create ubuntu user with home folder located in www and restrict ssh access using ChrootDirectory to that folder

I posted this on stackoverflow and was told to post here: I am running a Ubuntu remote dev server, heavily restricted (due to compliance) environment which i previously had configured correctly for ...
user1529597's user avatar
0 votes
1 answer
532 views

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 ...
Mark Tierney's user avatar
0 votes
0 answers
101 views

Where would Caddy2 fit into our server (possibly AWS) architecture chain for enabling custom domains and subdomains?

I'm in the process of re-architecting our web application so that it's more scalable. One of the requirements is to allow customers to point custom domains AND subdomains at our site, which our ...
Daniel Matthews's user avatar
0 votes
0 answers
311 views

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 ...
JanBoehmer's user avatar
0 votes
0 answers
192 views

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 ...
Ben Fransen's user avatar
0 votes
0 answers
417 views

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....
user2839913's user avatar
0 votes
1 answer
967 views

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 ...
Janus Bahs Jacquet's user avatar
0 votes
1 answer
4k views

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 ...
Sahasrar's user avatar
0 votes
0 answers
2k views

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 ...
rootShiv's user avatar
  • 101
1 vote
2 answers
13k views

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 ...
Kevin Yobeth's user avatar
0 votes
0 answers
236 views

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 ...
Rose Riyadh's user avatar
0 votes
1 answer
2k views

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 ...
r j's user avatar
  • 1
0 votes
1 answer
1k views

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 ...
dan178's user avatar
  • 113
-1 votes
1 answer
4k views

error The Process class relies on proc_open, which is not available on your PHP installation

after change server and setup centos with cpanel lumen cron job not worked and every minutes add this error to lumen log: The Process class relies on proc_open, which is not available on your PHP ...
Erfan Safarpoor's user avatar
0 votes
1 answer
2k views

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 ...
Abu Dawud's user avatar
0 votes
2 answers
2k views

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 ...
Mohammad Zahed's user avatar
0 votes
1 answer
693 views

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 ...
Muhammad Shafiq's user avatar
0 votes
1 answer
1k views

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 ...
user3416348's user avatar
0 votes
0 answers
208 views

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 ...
user3416348's user avatar
0 votes
1 answer
816 views

nginx setup with conditional reverse proxy for some routes

I have a laravel server fronting a wordpress hosted on another server. The laravel server is receiving all traffic. I would like to direct specific routes to the local index.php (laravel) and all ...
Martin Drapeau's user avatar
1 vote
0 answers
81 views

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 ...
MrCarrot's user avatar
  • 345
0 votes
0 answers
185 views

How to fix errors when deploying akaunting to kubernetes cluster?

I try to deploy the web-app akaunting to a k8s cluster. Therefore, I converted the given (and working!) docker-compose script using kompose to k8s yaml files. When I try to apply these files (given ...
caylee's user avatar
  • 101
2 votes
1 answer
844 views

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 ...
ChimpyMonk75's user avatar
1 vote
0 answers
2k views

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 ...
Maqsud's user avatar
  • 111
0 votes
1 answer
2k views

Email sending in laravel8, fails when using application specific password for gmail

I have used application-specific password for my Gmail account to send emails since other way does not work in my server environment though it works in local. my configuration is as follows ...
userDuR's user avatar
  • 101
0 votes
0 answers
608 views

PhpStorm Laravel trying to connect to MySQL database throws java.net.ConnectException: Connection refused: connect

I am trying to set up a laravel project in phpstorm but fail at connecting to a mysql database. These are the steps I've taken so far: download and install composer, vagrant and virtualbox create ...
Artur Müller Romanov's user avatar
0 votes
0 answers
462 views

how to set up websocket server along with two laravel backend and a spa

i have two laravel backend setup on different routes. and there is a spa on root. now i want to set a websocket server along with it. here is my website.conf ############## block-4 : multiple ...
rajeshtva's user avatar
  • 101
1 vote
1 answer
902 views

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 ...
yossi's user avatar
  • 149
0 votes
0 answers
1k views

“No input file specified” - Laravel project on CentOS

I've have VM with CentOS installed where I want to host Laravel project. I've put it on /var/www/html/project But when I access via URL of this project like 127.0.0.1/project I get tree of document. ...
wpcpremium80's user avatar
0 votes
1 answer
114 views

How to host laravel on VM Instance

I want to deploy laravel on VM Instance, I am following this link, when I completed upto setting up of database, I could not see my applications landing page, it instead shows Apache2 Debian Default ...
Chinmay Dongarwal's user avatar
-1 votes
1 answer
202 views

Adjust server configuration [PHP, Laravel, mysql, nginx] for serve great number of user [duplicate]

I have a Laravel PHP webapp that shows analytics data in Angular frontend to users. User can only show content, plots and tables. I have written 3 laravel commands that hourly download and store data ...
Tenaciousd93's user avatar