Laravel, PHP, Software Development

Laravel 8 PHP Configuration For Local Development Environment

PHP

Yesterday, I wrote about how to enable PostgreSQL drive in PHP 7.4. Today, I noticed Laravel 8 is already available. So, I have decided to migrate to Laravel 8 from Laravel 7. This short post shows how to configure PHP 7.4 (PHP 7.x in general) for Laravel 8 for a local development environment.

Modify php.ini For Composer

When I installed Laravel locally via the Composer, I got the following error, which is a bit strange because I did not encounter this yesterday.

To fix this, I needed to modify php.ini for Laravel and uncomment the following line.

Modify php.ini For Laravel 8

Once I resolved the problem and tried to create a new Laravel project, I got another error, as shown below.

To fix this, I uncommented the following line in the php.ini file.

You Might Also Like