Questions tagged [laravel]

99 questions
0
votes
1 answer

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 others to the wordpress. Like this: /a/* --> laravel…
0
votes
0 answers

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 AKAUNTING_SETUP=true), I get the following error; I…
caylee
  • 101
  • 1
0
votes
1 answer

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…
userDuR
  • 101
  • 3
0
votes
0 answers

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 laravel/laravel project with composer (create…
0
votes
0 answers

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 subdirectory testing ############ server { listen…
rajeshtva
  • 101
  • 2
0
votes
0 answers

“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. When I enter public directory it shows me a…
0
votes
1 answer

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 Page, is it because I didnt configured Server name…
0
votes
2 answers

Apache2 react app + laravel REST api on same domain

So my goal is I have my domain named example.com conf for example.com ServerName example.com ServerAlias www.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/public_frontend …
0
votes
0 answers

Using setuid in a Shell Script on Ubuntu 20.04

So I have a Laravel PHP app on Nginx on Ubuntu 20.04. I have a simple deploy.sh script that will: Put Laravel into maintenance mode, so it returns a 503 error if anyone visits the site Pulls down the current source from github using a read-only…
user621861
0
votes
1 answer

Proxy Forwarding not woking on Nginx, Laravel, Elastic Load Balancer

I have an AWS Elastic Load Balancer that receives https requests for the domain (bunny.misite.dev), the requests are sent to the server Nginx via http and the Laravel App answers the requests. The problem that I have is that Laravel is not…
JohnnyAce
  • 33
  • 1
  • 5
0
votes
1 answer

Connect to production database on vps from local dev environment

I am using a Ubuntu 20.04.1 LTS VPS with a deployed Laravel Framework 6.20.16 application. I am currently connecting to my mysql database via ssh using dbeaver, using simply root@IP_Address and my password to connect. However, I would also like to…
Carol.Kar
  • 117
  • 6
0
votes
1 answer

Laravel mass image serve

We have a Laravel application and imagine the following: We have a slider with a play button that will start showing images on a slideshow. These images arrived from web cameras so obviously there are a lot of images. The load time of the page is…
Bert
  • 1,028
  • 1
  • 16
  • 33
0
votes
1 answer

After migrated from AWS to Azure, API response became very slow

Our mobile APIs were hosted in AWS EC2 instance and it was working very fast, say 300 ms. Recently we migrated to Azure VM and after that, all the API responses are very slow, say 2 to 8 secs. The structure is below. AWS EC2 instance size is 4…
0
votes
0 answers

Passthru works in development server but not in apache

I'm trying to execute a Python script from a Laravel project in Ubuntu 20.04 using this code: passthru('/usr/bin/python3 /var/www/birra/public/setauto.py DB_D1 false'); $output = ob_get_clean(); This works perfectly in Laravel Development Server…
Gamopo
  • 101
0
votes
1 answer

Can't 'php artisan migrate' inside docker

Trying to run 'php artisan migrate' in docker returned following error Illuminate\Database\QueryException could not find driver (SQL: select * from information_schema.tables where table_schema = admin and table_name = migrations and table_type…
Kamil
  • 1
  • 1
  • 1