A colleague has developed a laravel application which generates a pdf with data from the database.
Local machine: working fine!
Server configured with forge (HTTPS) - using Google Chrome: working fine!
Server configured with forge (HTTP) - using Goog...
I am using laravel 6 and run it on a apache/ubuntu 20 server.
My apache configuration looks like the following:
ServerAdmin [email protected]
I'm hoping someone can help me with this.
I have several servers running my queues using Horizon and Redis. All servers are in production enviroment and sharing the same codebase.
I'm trying to ensure that certain EC2 servers only run specific queues...
Not laravel-specific but hoping somebody would know the answer here.
Environment is Debian 10 (Vagrant VM and also DO droplet)
Vagrant php -v shows PHP 8.0.3
DO droplet php -v shows PHP 8.0.5
Composer shows and just did a composer global update
I find confusing that Laracast documentation on Deployement (sorry no link permitted) explains with Ngix (exit apache :/ ) server configuration using PHP-fpm pointing to index . php while every other tutorials I can find points DocumentRoot to the pu...
Yesterday, I set myself up a "work" user on my Mac. I installed and went to use Valet, and found that it was trying to access sites from my "personal" user.
I was wondering if this was common, and if it could be fixed to be...
Hi all, I am working on a job board software that would allow customers to create their own job board from UI and link to a custom domain. When they enter their own domain (and of course configure the DNS records), our server should open their job b...
Do you already have experienced a namespace error with nginx or apache ?
I specify that the problem is not with Laravel, it's a private PHP framework. If you don't want to answer to my post, no problem ;).
FastCGI sent in stderr ... while read...
So having dumped MAMP pro after using it for many years but having many problems, I installed Valet today. After resolving a few problems, I got it working. However there's one thing I can't fix.
I have my ~/Sites folder 'parked' in Valet so every di...
i have done install as per the documentation and follow the https://laracasts.com/series/laravel-from-scratch-2017/episodes/3 video
PHP 7.1 - Installed
composer global require laravel/valet - executed
valet install - executed
valet park (at...
My laravel project is hosted on shared hosting and am facing server cache issue.
Like if i ever use dd() or dump() in controller, the next time i hit that function I get the same result even if i remove that whole function. Unless i use "?noc...
We build one application where backend is in Laravel and frontend is in Nuxt(SSR).
We successfully deploy our application on AWS. We use ubuntu as an OS and Nginx as a webserver.
We use pm2 to run the Node server for SSR and the supervisor to...
Hello everyone, so i have created a single page voting system application which has 115 concurrent connections, it has real-time data processing and uses pusher. It is deployed in DigitalOcean App Platform, although when the concurrent connections ar...
My Laravel app sometimes throws “Predis\Connection\ConnectionException - Error while reading line from the server.” exception. I used a managed Redis cluster from DigitalOcean. Do you guys face this type of error if yes how did you resolve?...
I'm trying to host my project without success.
When I load the site I get an "Error 521 - Web server is down" message from Cloudflare or "This site can’t be reached / ERR_CONNECTION_CLOSED" s...
I have deployed a Laravel app to a VPS, I can manage the DNS of the domain name pointing to it.
My app needs to send some emails (upon signup for example) so I need to configure a mail host.
However I did not quite understand what I need to install...
I have a website which was written in Laravel 5.
I found malicious files in folders: public_html and mylaravelproject\public.
I'm not sure how this happened because I don't use upload file functionality anywere.
Anyway, I restored this fol...
Hi, i would like to run Lumen o Vercel. I use this tutorial: https://calebporzio.com/easy-free-serverless-laravel-with-vercel and if i just return app version everything works, but if i use views i get error with file_put_contents because Lumen want...
After doing the vagrant up, when I check the php version :
PHP 7.3.2 (cli) (built: Feb 5 2019 23:16:38) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies...
I got the following error when entering my site on a production server:
The stream or file "/var/app/current/storage/logs/laravel-2019-11-22.log" could not be opened: failed to open stream: Permission denied
I ran chmod -R 775 storage/log...
I need to ensure that all routes are https://www
https already works on all, but only the home page redirects to www
I've tried all kinds of code on the internet and it doesn't work.
The laravel public folder is inside public_html and the laravel fil...
When new user is registered in Laravel website, my website creates new folder for that user and inserts default avatar. BUT when new user is registered, that folder has no permissions (d-w-r-sr-T and belongs to user: www-data group: www-data). How ca...
Hi, im trying to save user inserted images to my storage but it is not working.
File saving on local server works fine ( im using Laragon)
When i initially deployed project, image upload was working, but when i tried to set up file permissions accor...
I run about 10 laravel websites, and our company is growing. Currently, all sites and databases are hosted on a shared web hosting at OVH. Unfortunately, the performance is not ideal, and there is a lot more potential in speed. I put one of our larav...
This is a general setup related question where I don't know what the best approach is. Let's say I have a service where people can sign up and use their custom domains for their public profile, ie. username.domain.com.
I'm currently using RunCloud fo...
We use a lot of background processing with workers. One problem that we have noticed that the memory is not cleared after the job finishes with processing.
we use corn jobs for run this php artisan queue:work command for each 30 minutes...
I have a simple Envoy file as below (all working and displaying the correct output for each server):
@servers(['.se' => 'ee-se', '.co.uk' => 'ee-couk'])
cd ~ && pwd;
I anyone aware...
I use Laravel 7 for backend, Nginx on the server, and flutter for apps.
I installed an SSL layer for my server by using Let's encrypt and Certbot. Before SSL everything was fine, it was working. But after installing SSL I got this error on flutter:
My website is accessible in both ways:
But this is making google index my site and all pages in both ways.
I need to return error 404 for urls with "public" or redirect with 301 to the page witho...
for one of my projects I need to create PDFs and I'd love to try out Spatie's Browsershot package.
I haven't worked with Puppeteer yet but I'm working with a Docker setup locally and was wondering if I can in...
Hello. I need to allow users to download large files (1GB and more). Atm I'm just using laravel Storage facade implementation. Basically it is:
inside of download controller.
I try to install spatie/browsershot in laravel 5.8 app on live ubuntu 18 server and as I need to
install Chrome support I try to run commands :
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs gconf-serv...