安装PHP的OpenSSL

  |   php

如果在HTTPS官网去下载包,会报错信息:Unable to find the wrapper "https".所以需要安装OpenSSL软件包就能解决这个问题。

见下错误:

How do I fix the error ‘Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?’

要解决此错误,您需要安装PHP在您的网络服务器OpenSSL软件包。

在FreeBSD服务器,您可能需要安装以下软件:php53_openssl并重新启动Web服务器。

在Windows服务器上,打开php.ini配置文件和简单的注释,下面的行:
去掉逗号行了

;extension=php_openssl

并重新启动Web服务器。应该可以解决错误。

参考地址:http://piwik.org/faq/troubleshooting/faq_177/