All Questions

Tagged with
Filter by
Sorted by
Tagged with
26 votes
3 answers
29k views

Artisan server for LAN [closed]

I want to make LAN server with artisan server. How can I run command like this php artisan serve –-host=192.168.2.20 --port=8000 I tried but I am getting 'Too many arguments.' error I know I can ...
user avatar
17 votes
9 answers
50k views

Laravel Error 503 Service Unavailable Service

Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 5312211 Varnish cache server I working on cpanel and subdomain but i got this error from laravel project. do you can help me ...
Nasser Ali Karimi's user avatar
12 votes
2 answers
31k views

How to get MySql 8 to run with laravel? [duplicate]

I'm having difficulty getting MySQL 8 to work. This is the error that appears everytime I attempt a php artisan migrate. I've reinstalled MySQL only once so far because I didn't want to hurt my head ...
Zac's user avatar
  • 1,867
11 votes
0 answers
4k views

Laravel Queue Driver not calling handle() on jobs, but queue:listen daemon is logging jobs as processed

I've taken over a Laravel 5.2 project where handle() was being called successfully with the sync queue driver. I need a driver that supports dispatch(..)->delay(..) and have attempted to ...
Holly Grant's user avatar
7 votes
3 answers
6k views

Laravel 5.7 Nova - The Mix manifest does not exist (on server)

I set up laravel Nova locally last night, tested it, used it, everything works great on my local machine. Uploaded it to the server, and everything works great except when i head to /nova which ...
Raymond Ativie's user avatar
7 votes
1 answer
5k views

Nginx: Serve multiple Laravel apps with same url but two different sub locations in Linux

I want to serve multiple Laravel apps in a single nginx server, the first one has a root directory in /var/www/html/app1, the second one has /var/www/html/app2, and so on. The index.php file of each ...
Satelkom Quarta's user avatar
7 votes
3 answers
7k views

Laravel routes are not working on production server 404 error

I have a laravel project, which is working fine on the local machine, where I have it set up on homestead, but when I have uploaded project to the production server on namecheap, none of the links or ...
Ludwig's user avatar
  • 1,591
7 votes
2 answers
1k views

Localhost MySQL PHP Database Migration Slow Performance Compared To Virtualhost Homestead

[VIRTUAL HOST] Laravel Homestead database migration are so much faster than my [LOCALHOST] Laravel Valet / Vessel / XAMPP /? Can anyone explain why? Or is there a way to enhance my localhosts speed?
Kenneth's user avatar
  • 2,913
6 votes
1 answer
7k views

Laravel Forge - multiple sites on the same server

I have over the past months tried to learn myself about php/laravel. I have made some laravel hobby apps which i was thinking of putting on a server, so i could use them. I am using digitalocean for ...
user7376271's user avatar
6 votes
3 answers
7k views

Laravel env file is not loading

I have moved my laravel project from local to production server which is centos vps. Strange thing I'm facing is laravel can't read from .env file, And I have tested everything to make it work but no ...
Mohammad_Hosseini's user avatar
6 votes
1 answer
818 views

Transfer file takes too much time

I have an empty API in laravel code with nginx & apache server. Now the problem is that the API takes a lot of time if I try with different files and the API responds quickly if I try with blank ...
Mox's user avatar
  • 61
6 votes
1 answer
872 views

PHP Application Server With Laravel

This is my first time developing with PHP. I have been googling around but still, not got the answer. On my Centos 7 server, I have installed LAMP. I want to know what the web server is and what ...
Ahmad Albab's user avatar
5 votes
4 answers
8k views

Upload Laravel 5 to server subfolder

I am trying to upload Laravel 5 project to subfolder as: public_html/project/ I have changed in index.php require __DIR__.'/../project/bootstrap/autoload.php'; $app = require_once ...
K M Chaudhary's user avatar
5 votes
2 answers
4k views

How to check SQL server version in Laravel blade view

How to check SQL server versions in Laravel blade file. I want make file system info. Now i have this: <div>Laravel version: {{ App::VERSION() }}</div> <div>PHP version: @php echo ...
Erni's user avatar
  • 57
5 votes
1 answer
2k views

beyondcode laravel-websocket not connecting on server

I am trying to build a chat app and for that using beyondcode/laravel-websockets. When I used it in local it was working great but on the server can not make it run. My Configurations are as follows ...
Maaz Khan's user avatar
  • 131
5 votes
1 answer
5k views

Can't access a project running on a port on ubuntu server

I created a project on localhost. Frontend is angular that runs on port 4200, backend is laravel that runs on port 8000. On my localhost. I run the backend using php artisan serve and it starts ...
Syed Haris Ali Ghaznavi's user avatar
5 votes
1 answer
2k views

setting up server on bluehost for laravel application and having issue with php -v

I am setting up a fresh server for laravel application. I have installed composer and chosen php5.6.15 from my cpanel. But when I run php -v command in terminal it shows my current version as php5.2....
tmw's user avatar
  • 1,454
5 votes
0 answers
3k views

ErrorException proc_open(): fork failed - Resource temporarily unavailable'

Guys I am using Linux server to host my Laravel application. My application uses Laravel job scheduler and queue for handling background processes like fetching emails and sending system generated ...
Manish Verma's user avatar
4 votes
2 answers
2k views

Is it okay to run php artisan :clear commands on a production laravel website? [closed]

I have a production Laravel website hosted on a DigitalOcean NGINX server, and every time I git push new updates, I always run the following commands: php artisan config:clear php artisan cache:clear ...
Jake Scervino's user avatar
4 votes
1 answer
125 views

Laravel 5.2 - issue with webservices

Recently I am facing one issue with laravel 5.2 Actually, my project is setup on shared hosting server, I am using larval 5.2 for web services but I can't able to pass token with a header, the same ...
DsRaj's user avatar
  • 2,318
4 votes
0 answers
339 views

Laravel Queue running Envoy Task Inconsistent when deployed

I'm building a site which is using laravel envoy to run commands on a remote server. When a button is clicked to run a task then it is added to the Queue (I'm using redis and horizon) so that it is ...
Angus Allman's user avatar
3 votes
3 answers
2k views

Vapor - How to increase Size of folder for deploying to staging and production?

I try to deploy our code to staging I was found an error message something like this. Compressed application is greater than 45MB. Your application is 69 MB. Whoops! There were some problems with ...
user2147016's user avatar
3 votes
3 answers
4k views

Local Laravel server stops after hitting localhost once

I'm trying to develop a Laravel app locally and I'm running php artisan serve. It works until I visit localhost:8000 and then the server stops. I've tried changing the port using sudo php artisan ...
Optymystyc's user avatar
3 votes
2 answers
2k views

Laravel server, upload to public_html rather than upload in project folder

I've been trying surfing around this site looking for answers, but nothing works for me, i want to upload an image that save in public_html folder, instead of saving it in project folder (i seperate ...
altunatively's user avatar
3 votes
2 answers
3k views

'NotFoundHttpException' in Laravel Project

I tried to upload my Laravel project using FTP, I did a composer update and changed server's PHP version to 7. But I'm getting a 'NotFoundHttpException' error. Can someone help me?Im just learning ...
Cath's user avatar
  • 43
3 votes
2 answers
14k views

Nginx on Ubuntu Server throws 404 not found

After rebooting the laravel-based website on a Ubuntu server using nginx, and configured everything properly (hopefully, at least it worked before), I can only access to the index page but not any ...
Stan Luo's user avatar
  • 3,809
3 votes
0 answers
174 views

How can i install two different laravel project for two different domain in one droplet via command line in digitalocean?

I have one droplet in digital ocean and i want to run two or more web application in a single droplet. Kindly guide me how can i install two different laravel project for two different domain via ...
ibowcrat's user avatar
3 votes
0 answers
272 views

How to set up Laravel 5 for OS X server?

I'm having a lot of trouble setting up my OS X Server to run Laravel. I noticed a few things.. I needed to update my php, so I used the method described here and updated to 7.0 http://php-osx.liip.ch ...
Brian Peters's user avatar
2 votes
1 answer
4k views

what's the best place to save encryption public and private keys in a laravel server

The environment: I have a Laravel 6.x application running on Amazon EC2 with Ubuntu 18.4 bionic, and Apache server. I have multiple scheduled artisan commands. They either generate files and FTP them ...
Bahman.A's user avatar
  • 1,196
2 votes
2 answers
6k views

Permission denied. Laravel linux server

when i try to register and send an email to the user i got this error. It was working till yesterday. From today it gives me this and i cant figure out why. By the way on local testing this work's. I'...
McMazalf's user avatar
2 votes
1 answer
151 views

Can Go easily emulate the behaviour of Laravel's return Redirect::back()?

While using Laravel, I really appreciated being able to use: return Redirect::back(); to return to the previous URL after a POST request. Is there a simple in-built way to do this in ...
Paul Parker's user avatar
  • 1,223
2 votes
2 answers
2k views

file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: Connection timed out

I have tried many solution but no one can help. I'm using google recaptcha for my laravel project and i'm using this library "buzz/laravel-google-captcha": "^2.2" Here is it my code in view <div ...
Ray's user avatar
  • 404
2 votes
1 answer
376 views

Unable to run desktop app on client side using local machine as server

I have migrated my laravel based web app to a desktop app using phpdesktop. Everything is working fine when I am running it on my local. The problem arises when I tried to run it on the other machine ...
Shwetank's user avatar
  • 374
2 votes
1 answer
925 views

wamp / composer/ laravel5 : localhost:8000 just stopped working for no reason

I installed Wamp, then composer, then Laravel 5, I opened the page localhost:8000 and Laravel confirmation appeared. I didn't don anything else, 4 days later, I tried localhost:8000 however now I ...
Luiza Rios's user avatar
2 votes
2 answers
11k views

local.ERROR: cURL error 7: Failed to connect to 127.0.0.1 port 7700: Connection refused

I'm currently trying to run an existing laravel project on homestead(virtualbox) and I keep running into this curl error when trying to log in/ register a user. I have set up the project manually (...
Rob0128's user avatar
  • 41
2 votes
1 answer
4k views

NGINX gaves 404 error after creating a symlink

My site runs on php-larvel and nginx as webserver and the root diectory is /public , everything was ok ,but when I wanted to secure my phpmyadmin login url , creating a symlink by this command in /...
AliMahdavi's user avatar
2 votes
3 answers
2k views

L5.5 Create symlink between storage and public directories on shared hosting using SSH

I've setup my production server on a shared hosting my directory structure looks like this (my project is placed at same level as public): /home/user/my-laravel-project/ /home/user/public_html This ...
Muhammad Shuja's user avatar
2 votes
1 answer
2k views

Laravel Vue js spa application

1). i want to know why people use two servers to make a vuejs SPA with laravel. I think we can use the other way. Make a Route like this Route::get('{any}', function () { return view('index'); })-...
QaMar ALi's user avatar
  • 229
2 votes
2 answers
5k views

Laravel Internal Server vs XAMPP/WAMP Server? [duplicate]

Is there any benefit of using Laravel Internal server (php artisan serve) over XAMPP or WAMP server? Because I feel it uncomfortable to keep running a command-prompt for the command 'php artisan serve'...
Jaber Al Nahian's user avatar
2 votes
1 answer
87 views

Security in laravel project - API interconnection

I have a new project that contains two separate parts for backend and frontend, and based on it, I want to establish a secure connection through the frontend subproject (designed with vuejs 3) with ...
Hoseain Sanadgol's user avatar
2 votes
2 answers
1k views

Fetch data from gatServerProps of NextJs app when another api server is also running in localhost

According NextJs Documentations: You should not use fetch() to call an API route in getServerSideProps. Instead, directly import the logic used inside your API route. You may need to slightly ...
Sami's user avatar
  • 129
2 votes
1 answer
3k views

Laravel Forge 500 Internal Server Error

I have updated the git repository (developer branch - this is the only branch on the repo) and deploy on Forge but I am getting 500 Internal Server Error .env configurations are correct (database, ...
Ylber Veliu's user avatar
2 votes
2 answers
5k views

Laravel not sending email from server and not giving errors

I have problem, when I send mail from localhost everything works fine, but when send from server I don't receive mail and I don't get error. My env. file MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com ...
dev's user avatar
  • 181
2 votes
4 answers
6k views

How to run laravel server without port

When I run command php artisan serve It start working with localhost:8000 How can start it as localhost.com Please help and guide me.
gaurav's user avatar
  • 117
2 votes
0 answers
2k views

Nginx upstream prematurely closed connection while reading response from upstream

I understand that there are many threads similar to this issue however the solutions do not work for me. This route is responsible for running a function that returns a JSON response however seemingly ...
Yeo Bryan's user avatar
  • 395
2 votes
0 answers
72 views

Laravel 5.1 - Some pages are not found on production serveur - "Page you are looking for could not be found"

I have a problem with some "routes" in my old Laravel 5.1.46 project. When I try to access to some routes, like admin/exercices/creer or admin/exercices/1928, I have this: "Sorry, the ...
Marjolaine Vé's user avatar
2 votes
1 answer
954 views

Which folders and files of Laravel we dont need on production (Web) server?

Have done some website on Laravel framework. I did it on local server and now started to upload it on production (Web) server. I realize, that Laravel have many and many files. I wonder, if I need to ...
Agapini's user avatar
  • 23
2 votes
1 answer
49 views

Match subdomain to folder using .htaccees file [duplicate]

I'm creating a blogging platform where each user got their own subdomain for their website. So I was thinking is it possible using .htaccess to redirect the user to the directory they entered in the ...
Matilde's user avatar
  • 31
2 votes
0 answers
548 views

Laravel Valet failed to open stream error

I have viewed and tried the below article suggestion: Laravel & Valet: Failed to open stream none of this worked for me. the only way to solve this is from me to rename the project folder. if ...
princeoo7's user avatar
  • 1,091
2 votes
1 answer
2k views

Cache in scheduled Laravel command

Im having some trouble about running a command in the server. I have a scheduled command to run hourly which i modified recently. When i run it manually, it works correctly, but when the scheduler ...
Mateus Alberghini's user avatar

1
2 3 4 5
10