0

I had previously ubuntu 14.04 LTS installed and I have so many projects on laravel 5.0. After the release of Ubuntu 16.04 I installed it on my machine and I am facing a lot of difficulties to get laravel 5.0 working in it. I installed Xampp 7.0.5 / PHP 7.0.5. There were errors about mbstring and mcrypt I got rid of those errors by installing them from terminal. Now when I try to run php artisan serve it throws [PDOException] Driver not found error. In my phpinfo I can see PDOdrivers for mysql, pgsql, sqlite are enabled.

The requirement of laravel.5.0 says PHP >= 5.4, PHP < 7, so I also tried installing Xampp 5.6.20 / PHP 5.6.20 and downgrading the php version of 16.04 to php5.

Is there any way I can get my laravel 5.0 projects working on Ubuntu 16.04? I am wondering if laravel 5.0 has worked in 16.04 for other people. Thank you in advance.

storm
  • 5,013

1 Answers1

0

I confirm that L5 works fine with PHP7 on Ubuntu 16. Actually, i'm using it right now. Installation from composer.

Kamil
  • 116