Support the ongoing development of Laravel.io →

3,391 Threads

Is It Possible to change Database connection on the way through env in Controller ?

Let's say, i've defined DB_DATABASE=one but, there is a time i want to change database name connect...

0 Likes
1 Replies

Issues connecting Amazon AWS ec2 instance to rds

Hi, i'm having an issue connecting my EC2 instance to the Amazon RDS db instance. Please note I'm u...

0 Likes
0 Replies

Upgrading To 5.4 From 5.1 laravel

I am using 5.1 laravel and I would like to know like Can we directly do Upgrading To 5.4 From 5.1 la...

0 Likes
1 Replies

What is the latest working configuration for vagrant and virtualbox for Ubuntu 16.04?

i have recently upgraded from Ubuntu 14.04 to 16.04 as a fresh install. I believe i updated to a ne...

0 Likes
0 Replies

I am sharing bash scripts for installing Laravel 5.4

Hi everyone, I created two bash scripts to ease Laravel installations and thought I'd share them wit...

0 Likes
0 Replies

Odd CRUD issue

Im having a odd issue with my CRUD on Laravel 5.4 and PHP 7.1 when developing via "php artisan...

0 Likes
1 Replies
Solved

How to get URL with current project language like http://example.com/en

I need project URL with current project language like http://example.com/en URL("/") this...

0 Likes
3 Replies
Solved

Problem with connecting to Database

I'm new to Laravel and I'm trying to fix next issue for 2 days. I want to create database and migrat...

0 Likes
1 Replies

Minimum PHP Version for latest Laravel 4?

Hi, I teach Web Development to Diploma students and I have introduced Laravel 4 as the PHP Framework...

0 Likes
4 Replies

Laravel Hosting Providers

Hi guys, What are your suggestions for reliable and compatible hosts for larger Laravel 4 applicatio...

0 Likes
14 Replies

Artisan Migrate Not Working

I'm having problems with my migration code, This is the error I'm recieving: PHP Parse error: synta...

0 Likes
4 Replies
Solved
posted 8 years ago

Laravel .env file not working with 127.0.0.1 but works with localhost

I have a laravel app that works fine with DB_HOST=localhost but does not work with DB_HOST=127.0.0.1...

0 Likes
1 Replies

add /public/ to routes

I've moved my application and need to add /public/ before everything for it to work correctly. How c...

0 Likes
0 Replies

Listening for event error

Basically, i'm sending out an event; Pusher is receiving it on their debug console. YET my other bro...

0 Likes
1 Replies

Database Error Migrate

after php artisan migrate, theres an error I got below: [Illuminate\Database\QueryException] SQLSTAT...

0 Likes
4 Replies
Solved

Can't create Controller

Hello everyone. I downloaded someone else's project: github I was able to install it and my browser...

0 Likes
1 Replies

Call to a member function getClientOriginalName() on a non-object with intervention

public function postCreate() { $validator = Validator::make(Input::all(), Product::$rules); if ($...

0 Likes
12 Replies
Solved

No input file specified.

Hey, I installed Laravel with Homestead. Dependent on the Laravel documentation. The Project-Folder...

0 Likes
3 Replies
Solved

Problem creating directory in 'tmp'

I get an error when uploading an image and I think it must be a permissions issue. Image ius saved l...

0 Likes
0 Replies

Pusher/Laravel Error

My console is throwing the following error: Pusher : No callbacks on private-App.user.1 for pusher:s...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.