在ubuntu下我装的php7.0 通过composer安装laravel或者TP都报下面这个错误
这个错误是说20151012目录下没有php_curl.dll的原因造成的吗?我看这个目录里面确实没有这个拓展 可是这里面都是so后缀的啊 这里为什么说dll的后缀呢?那么缺少的这个拓展我怎么下载呢?
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/20151012/php_curl.dll'
- /usr/lib/php/20151012/php_curl.dll:
cannot open shared object file: No such file or directory in Unknown on line 0
Ubuntu 下安装、启用扩展不要修改 php.ini 直接用apt 搜索安装。
找到合适的版本安装。