Questions tagged [laravel]
The laravel tag has no usage guidance.
100
questions
0
votes
0
answers
14
views
Laravel Form Set Default Selection
@section('page-action')
{{ Form::select('item_type', $product_type, null, ['id' => 'item_type', 'class' => 'form-control select ', 'required' => 'required', 'placeholder' => 'Type de ...
-1
votes
0
answers
20
views
cookies are not being, recongnized / regenerated, after some period of time
Authentication in Laravel doesn’t work some time after the deploy in a specific environment
I have 2 web platforms built with Laravel that work perfectly fine both on the development environment as ...
0
votes
1
answer
5k
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 ...
0
votes
0
answers
585
views
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 reverb:start
...
0
votes
1
answer
194
views
NGINX 403 ACCESS DENIED
I have this problem in nginx, it is a Laravel application. but it is in a user's folder /home/user/projects, I already tried with 777 nginx owner of the folders but it still shows the error
FastCGI ...
0
votes
1
answer
58
views
Why my AWS T2.Medium EC2 CPU utilization is at 27% constant, but on running top command shows 100%?
I am running my PHP Laravel application in AWS EC2 instance (T2.Medium, 2 core) through Laravel Forge. For 5 months continuously I am seeing constant CPU utilization of 27% in the AWS console graph. ...
1
vote
2
answers
18k
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 ...
0
votes
1
answer
213
views
Hosting Laravel Filament apache server responded with a MIME type of ""
I been trying to host my laravel filament project into my server using apache but upon deployment i met 2 problem i never seen before
pic related
Failed to load module script: Expected a JavaScript ...
0
votes
1
answer
192
views
Laravel app routes not working when using domain name (fine with IP address) on AWS Lightsail
I am running a Laravel 10.x application on an Amazon Lightsail server here - 18.134.48.92
Currently when browsing to http://18.134.48.92/login I am correctly shown the login page (I am using Laravel ...
0
votes
0
answers
142
views
Issue with Laravel ECS Deployment: Access denied for user 'forge'@'10.0.20.124'
I am facing an issue with my Laravel application deployment on AWS ECS. The deployment process involves Jenkins, AWS ECR, and ECS. The new task is created, but there's an "Access Denied" ...
1
vote
1
answer
68
views
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 ...
0
votes
0
answers
233
views
Permission issues in docker + laravel
I've been having this problem for a week and I don't know how to solve it. I started a small laravel project with Docker and Docker's mysql doesn't work at all. It keeps crashing by itself, when ...
0
votes
0
answers
113
views
How do i run assets (npm run production) on an elastic beanstalk laravel application?
I have a laravel application, running on an AWS eb instance (elastic beanstalk).I have uploded the code, and connected a database and everything works fine without any errors. But i need to compile ...
0
votes
0
answers
263
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 ...
0
votes
0
answers
33
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 ...
0
votes
0
answers
181
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:...
0
votes
1
answer
106
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 ...
0
votes
0
answers
48
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 ...
0
votes
0
answers
126
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: &...
0
votes
0
answers
168
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 ...
0
votes
0
answers
34
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 ...
1
vote
1
answer
3k
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 ...
1
vote
0
answers
235
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 ...
0
votes
1
answer
10k
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 ...
2
votes
2
answers
4k
views
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 ...
0
votes
1
answer
620
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 ...
0
votes
0
answers
633
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 ...
1
vote
1
answer
800
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 ...
0
votes
0
answers
272
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 ...
0
votes
0
answers
484
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....
0
votes
1
answer
1k
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
0
answers
3k
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 ...
0
votes
0
answers
274
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 ...
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 ...
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 ...
-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 ...
0
votes
2
answers
2k
views
Apache2 react app + laravel REST api on same domain
So my goal is I have my domain named example.com
conf for example.com
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
ServerAdmin webmaster@...
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 ...
0
votes
2
answers
3k
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 ...
0
votes
1
answer
869
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
343
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
104
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 ...
0
votes
0
answers
209
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 ...
2
votes
1
answer
993
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 ...
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 ...
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
...
0
votes
0
answers
645
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 ...