我正在尝试在Ubuntu 16上安装composer.
curl -sS https://getcomposer.org/installer | php
并收到警告:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0
All settings correct for using Composer
Downloading 1.2.0...
Composer successfully installed to: //composer.phar
Use it: php composer.phar
我使用肥皂肥皂:
sudo apt-get install php-soap
在/usr/lib/php/20151012/php_soap.dll目录中确实没有这样的e文件
在php -i之后grep -i soap:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php/7.0/cli/conf.d/20-soap.ini,
soap
Soap Client => enabled
Soap Server => enabled
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400
如何解决php_soap.dll的问题?