title: In laravel 5.8, we are unable to save sessions using user other then www-data
body: <p>We are using laravel 5.8 and PHP 7.2. The issue we are facing is when, starting server using below command, session is not working:</p>
  
  <p>php artisan serve --host=IPADDRESS</p>
  
  <p>But the same is working fine with www-data user, if we place our source code in /var/www/html folder. </p>
  
  <p>Using php artisan command we are accessing the project on 8000 port, where sessions are not working. I tried to add my user to www-data group but still I am unable to get this work.</p>
  
  <p>Please someone help here to resolve this issue.</p>