Cannot Install Laravel Package - Intervention Image
Make sure that, you have php_fileinfo.dll
is installed/available in your php\ext
folder and also make sure that, the following line is not commented in php.ini
file:
extension=php_fileinfo.dll
If it's commented like this:
;extension=php_fileinfo.dll
Then just remove that ;
from the beginning of the line and then restart the wamp/apache
server.
Update:
However, some web servers are confusing because they do not use the php.ini located alongside your PHP executable. To find out where your actual php.ini resides, look for its path in phpinfo():
After activating an extension, save php.ini, restart the web server and check phpinfo() again. The new extension should now have its own section.
Also check the Installing a PHP extension on Windows
(Resolving problems) on PHP
manual.
There are 2 php.ini files:
wamp\bin\php\php5.4.3\php.ini
wamp\bin\apache\Apache2.4.4\bin\php.ini
Make sure the extension is uncommented in both, then restart apache.
I had this problem. The trouble is that the php.ini file that Apache uses is different than the CLI one. Just search for php.ini in your wamp folder and change it in all of the files...