Questions tagged [laravel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Why I got errors running redis in laravel app?

I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app I installed and in file /etc/redis/redis.conf I uncommented line : requirepass foobared in .env I ...
0
votes
1answer
14 views

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 ...
0
votes
1answer
12 views

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 ...
2
votes
0answers
15 views

How to configure multiple workers for laravel queue with systemd [duplicate]

I am running queue for my laravel app using systemd. Here's my service file [Unit] Description=Mosharaf isdp queue [Service] User=nginx Group=nginx Type=simple Restart=always Nice=10 WorkingDirectory=...
1
vote
0answers
46 views

Setting up Lavarel with Podman, but the php user can't write to my mounted directory

I've set up a laravel project on Fedora using Podman. For this I wrote a small script that attempts to replace the build process usually done by sail. #!/usr/bin/env bash if [ -f ./.env ]; then # ...
0
votes
0answers
10 views

Laravel run from php artisan server not working CORS only for storage

Laravel run from (http://IP_ADDRESS:80) php artisan serve --port=80 Not working CORS only for storage image with fetch GET (axion) ?! And i access from http://IP_ADDRESS:3000/ Every route works even ...
0
votes
1answer
38 views

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 ...
0
votes
0answers
12 views

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(); ...
0
votes
0answers
31 views

Prohibited Y0u don't have permission to access this resource

My laravel website gives me an error after changing one piece of code from a comment to code back to a comment again in the .htaccess file. I've tried I think everything with the folder permissions ...
1
vote
0answers
46 views

creating a local nginx subdomain for laravel

I currently have a working reverse proxy to a local domain: https://domain.test with an entry in /etc/hosts 127.0.0.1 domain.test https://domain.test goes to an spa website while https://domain.test/...
1
vote
0answers
37 views

Apache 502 bad gateway response when using AWS Application Load Balancer and Centos 7

I am new in Linux/centos, I configured a Laravel application in my AWS EC2 Instance (Centos 7),The application was working fine but after that I configured a Application Load Balancer to use path ...
0
votes
1answer
202 views

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 = ...
0
votes
0answers
28 views

Server architecture for high traffic system [duplicate]

we are working on the online exam system, which supposed to have much traffic at the same times, more than 15000 students will log in and make an exam at the same time, we are developing this system ...
1
vote
0answers
64 views

Mysql in Nginx takes over 100% CPU

I have a Laravel application running on my Ubuntu 18.04 server and MySql 5.7. Sometimes, it is very slow. I have checked with "top" command and this is the result: Some times %cpu raises ...
0
votes
0answers
28 views

How to install event library in ubuntu

I am trying to install event library but not getting this error openssl installation prefix [no] : no building in /tmp/pear/temp/pear-build-rootQpSDDZ/event-2.5.7 running: /tmp/pear/temp/event/...
0
votes
0answers
575 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
1answer
42 views

How to configure nginx better to reduce redundant system calls when APIs are called?

I have a Laravel application running in production, and there are a few APIs that used a lot. Something was creating a bottleneck and it used to stall our servers (3 with Load Balancer). After ...
0
votes
0answers
29 views

Nginx trying to load image files from server root rather then project root location

Quick question, shouldn't be too hard... hopefully. I'm running Nginx with two Laravel projects being hosted. The following directories are where they are being stored. /var/www/site.kara /var/www/...
0
votes
1answer
22 views

laravel shows error when sending email using tls and my own postfix/virtualmin server

We have installed our own postfix/virtualmin server and we have a laravel application,the problem is when we use external smtp servers, it is not problem to use tls option, and the emails are getting ...
0
votes
1answer
71 views

Laravel Vapor reaching limits with Queue and not clear what a solution can be

I'm new to Serverless hosting on AWS. I configured a working serverless environment via Laravel Vapor, but with some issues on a high load. A high load is 10k requests within seconds, all doing a ...
0
votes
0answers
41 views

Configuring server for high performance laravel app [duplicate]

Attempting to change the server config to support a larger number of concurrent users in the laravel app. Despite making a variety of changes found that the response time does not improve. Note: ...
1
vote
0answers
604 views

Email smtp credentials keep getting compromised every now and then (laravel 7)

Just as the title says, we have a website that uses third party smtp credentials to send emails, but, we keep getting our smtp credentials hacked and used to send spams emails, which results in our ...
0
votes
0answers
36 views

setup rtmp server on laravel homestead

I want to add rtmp block below into homestead nginx configuration: rtmp { server { # my configs } } } However in Homestead directory, when I open scripts/site-types/laravel....
0
votes
0answers
24 views

apache - mod_cache not caching image - status just “-” (laravel image)

I'm using php laravel framework and want to cache images with apaches mod_cache The images are fetched from a database and therefor returned by the laravel app and not served directly from apache When ...
0
votes
0answers
177 views

Elastic Beanstalk Multi-Docker environment is throwing 502 Bad Gateway error

I am deploying my Docker-based Laravel application to the ElasticBeanstalk Multi-Docker environment. But unfortunately, it is not working as expected. This is what I have done so far. I have created ...
0
votes
0answers
23 views

Laravel AWS EBS Auto Scaling

Im looking for some advice, this may seem like a silly question but I am having some issues with understanding how AWS EBS autoscaling works and its best practices. I have a laravel application that ...
0
votes
0answers
162 views

Installing PCNTL module for PHP7.4 on Amazon Linux

I'm using amazon linux2 and trying to install pcntl extension for php7.4.9. There are no package for pcntl after run yum search pcntl, so I manually copied file pcntl.so to /usr/lib64/php/modules and ...
0
votes
1answer
92 views

Nginx Serving Downloads of PHP Files Instead of Executing Them

I have a Laravel app I'm trying to serve with Nginx but when I navigate to my domain, all I get is a file called "download" which downloads automatically, with the content's of Laravel's ...
0
votes
0answers
15 views

Laravel websockets package connection refused? [duplicate]

I using laravel websocket package aspusher replacement. First this ubuntu was not allowing to access the port 6001 then I add Inboud securoty group rule on aws . Now it is allowing to access the port ...
0
votes
0answers
101 views

Redis issue showing me `moved` while configuring redis in laravel app

I have two servers containing the same laravel application and both are connected with a load balancer. Everything works well with the same RDS. To make the site faster I have created a Redis cluster ...
1
vote
1answer
237 views

Can't deploy to Google Cloud Platform on Laravel

I got the following error while deploying laravel on GCP with "gcloud app deploy". ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build ID~~~ status: FAILURE Error ID: 5888fcc4 Error ...
0
votes
0answers
16 views

Laradock - Limiting connection per IP

I want to limit to some ip address the access to some containers created with Laradock. For example, I want that only the ip 8.8.8.8 can access to nginx container. How I can do it? I have found this ...
0
votes
0answers
33 views

How deploy a Laravel application at another route of a Laravel application using Apache2?

I have a Laravel application that is running at mydomain.com, now I have another laravel application which I need to run to at mydomain.com/email. How do I make this happen with Apache configuration? ...
0
votes
1answer
52 views

App Engine connection to PostgreSQL Database suddenly lost

App Engine connection to PostgreSQL Database suddenly lost My App Engine connection to its CloudSQL Database doesn't work anymore. Till yesterday (26/08/2020) I was able to use my App Engine website ...
0
votes
0answers
124 views

Best practice in Redis is to rename the command 'FLUSHDB'. But now I get an error with Laravel when I want to clear the cache

In Laravel, you can set the cache to Redis. However, when I clear the cache with php artisan cache:clear, I get the error: ERR unknown command 'FLUSHDB' I know what the problem is because I have ...
0
votes
1answer
72 views

Deploy Laravel and Socket IO into Nginx

I've deployed my Laravel project that using socket io on nginx here is the server spec : NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora"...
0
votes
0answers
23 views

Email has different ip for sendor when it ends up in spam than when it ends up in inbox. How?

I have a simple vps server that i'm using to send confirmation emails from. The problem is that sometimes when i send a confirmation email it ends up in spam with sender ip different than the ip of a ...
0
votes
1answer
70 views

Laravel events behind load balancer - how to make the event visible to all the servers in the autoscale group

I have an application running Laravel 6.1. There are clients which connect to it via laravel websockets and listen for events. I have an external service which sends post requests to this server which ...
0
votes
1answer
255 views

Choosing Google App Engine Standard vs Flexible Environment for Laravel Application?

I am deploying a Laravel app (content management system) on GCP App Engine but I am not sure what are the advantages or disadvantages of standard vs flexible environment and how it would impact a ...
1
vote
1answer
31 views

Nginx, Wordpres & Laravel

I am trying to configure Wordpress and Laravel within Nginx, but am struggling to get the configuration right. Wordpress is installed in /var/www/site/blog Laravel is installed in /var/www/site/exam ...
1
vote
0answers
528 views

How can I configure a reverseproxy (at /) and a Laravel project (at /backoffice/) running in the same subdomain?

I'm trying to configure on Apache a subdomain that should: Serve a PHP Laravel app if the request starts with /backoffice ReverseProxy to a node app otherwise. I can configure the reverse proxy and ...
0
votes
0answers
26 views

How can I configure Supervisor to use a variable for command directory?

I am using supervisor to watch my laravel queue and restart on failure. I followed the instructions in laravels documentation to install and configure the service. This configuration works correctly: [...
0
votes
1answer
245 views

Nginx error_page is not working

Im trying to have nuxtjs as front-end and laravel as backend with NGINX After adding ssl and reconfiguring the nginx .conf file , Now my error_page line is not working and it does not go to location @...
-1
votes
1answer
92 views

I am getting following error while configuring office365 mail on contact us form in laravel 7. please anyone can

Swift_TransportException (554) Expected response code 250 but got code "554", with message "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process ...
0
votes
0answers
175 views

Channels current state is disconnected(laravel-websocket on ubuntu Host server)

I am working on Laravel-websocket package i got stucked on this error from quite long time. i have configure basic laravel procject along with laravel websocket package on my local ubuntu as well as ...
0
votes
0answers
78 views

redirecting from an alias url to main url with nginx

I have a site running on Laravel Forge that has a primary domain of example.org and then an alias of myolddomain.com This means that content is available at both. I'd like to make it that if someone ...
0
votes
1answer
604 views

NGINX Proxy_Pass to websocket server on a Plesk Server

I am trying to get a websocket client connected to my server with a ssl connection. I want to reach it with www.myurl.com/socket/ (subdomains would also be an option) and the websocket server is ...
2
votes
1answer
292 views

Is DynamoDB latency almost the same as RDS latency?

I am exploring using AWS Lambda through Laravel Vapor. Avoiding the use of Redis can save us ~$56/mo (t2.small at ~$24, NAT Gateway at ~$32). Instead of Redis, I plan to use DynamoDB which is much ...
0
votes
1answer
256 views

nginx http (from android app) does not work. Https is working fine, and http was/is working fine in apache

Update: Sorry, my bad. For android 8+ we should have clartextTraffic=true in androidManifest.xml for http to work. This was done/present in my app but after enabling https and domain setup, I deleted ...
0
votes
1answer
130 views

Openvpn unable to write to file, but is able to append

I have a weird problem with OpenVPN: In my config, OpenVPN authenticates users based on a laravel console application. Laravel site is served using Nginx running as www-data. The storage/logs ...