Reputation: 23
When I try intall composer, this error shows:
To enable extensions, verify that they are enabled in your .ini files
I'm using Xampp in Windows
Upvotes: 1
Views: 36735
Reputation: 29
i has same issue but i solvet with cammand (--with-all-dependencies
) for example
composer require laravel/passport --with-all-dependencies
Upvotes: 0
Reputation: 1
So I simply gone to xampp/php/php.ini file and Search for gd extension. I got this in my php.ini file. Simply remove the ; - semicolon from their. Restart the apache server(wampp or xampp)
Upvotes: 0
Reputation: 89
Simple solution is to check what extension is it asking to enable, if you see the code carefully, its given their which extension you need to enable.
In my case = it is missing from your system. Install or enable PHP's gd extension.
So I simply gone to php.ini file and Search for gd extension. I got this in my php.ini file. Simply remove the ; - semicolon from thier. Restart the apache server(wampp or xampp)
Upvotes: 4
Reputation: 758
Look at the list of required PHP extensions and try to install all.
Check this link also To enable extensions, verify that they are enabled in those .ini files...
Upvotes: 2