PHP modules don't load after installing PHP 7 to my server
I had this exact problem.
I have just spent the last few hours trying to fix some stuff and in my haste I for some reason enabled this line:
extension:php_curl.dll
Obviously, that makes 0 sense, as someone said but the error message is weird after you do that. Running apt-get dist-upgrade
DID NOT solve the problem.
So, after pulling out some more hair and re-reading this post a 100 times,I just commented it back out
;extension:php_curl.dll
and ya, problem solved.
So the OP must have done what I did... drink beer while working
On my case, to get curl working :
- sudo apt-get install php-curl
- comment curl extension :
;extension=php_curl.dll
in php.ini (eg /etc/php/7.1/cli/php.ini)