Tuesday 3 October 2017

Multiple laravel project in the same server session auth conflict

I have two laravel project in the same server i use auth for all projects. When i login to project1 its working fine.Same time i was login in to project2 my project1 will be log out.

I had the same problem with two Laravel projects and when I changed the session cookie name in config/session.php for one of them, the problem solved.

In Laravel 5.5:

 

 Please change your project name in .env file

 APP_NAME



In Laravel 5.4:

I think you should delete your browser cookies.

Laravel 5.5 Syntax error, unexpected '?' in

Parse error: syntax error, unexpected '?' in..\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php on line 233

 

As per https://laravel.com documentation PHP >= 7.0.0 version must be PHP 7.

If possible, use php 7+, even if the minimum for a particular laravel version is 5.6. PHP7 is leaps and bounds faster than 5.6 and uses less memory on top of that! The engine has been totally rewritten and It's literally almost 2x as fast as PHP 5.6.

So, finally i can say we must have php7 to use laravel5.5 version.

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in Laravel

  WampServer: Download this file:  http://curl.haxx.se/ca/cacert.pem Place this file in the  C:\wamp64\bin\php\php7.1.9  folder Open  php.in...

Popular Articles