I am trying to install Valet on my laravel 6 project. So when I run composer global require cretueusebiu/valet-windows
to install it, I get the following error:
requires ext-curl * -> the requested PHP extension curl is missing from your system.
However, extension=curl is enable in my php.ini file and also I run following command to check whether it is enable or nor:
<?php phpinfo() ?>
There also I can see the curl support is enable. What should I do to use Valet now? I am using Windows 10 and according to this answer, there is curl.exe but it does nothing with my expected answer.
and when I run php -m
I get the following:
[PHP Modules]
bcmath
calendar
Core
ctype
date
dom
fileinfo
filter
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
sockets
SPL
standard
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
[Zend Modules]
So there is no curl available. What do I do to get it?