PusherException:缺少依赖扩展-请确保安装了cURL和JSON模块


PusherException: There is missing dependant extensions - please ensure both cURL and JSON modules are installed

我是推进器的新手。我刚刚在代码点火器中集成了推进器,我得到了推进器异常。

 PusherException: There is missing dependant extensions - please ensure both cURL and JSON modules are installed 

我该怎么解决这个问题。我不知道。非常感谢。

异常提供了您需要知道的一切:

请确保cURL和JSON模块都已安装

cURL和JSON是需要安装在PHP环境中的PHP模块,因为Pusher PHP库依赖于它们来运行。

如果你能提供更多关于你的PHP运行时(PHP版本和操作系统)的信息,也许可以帮助你安装这些。

如何在Windows上安装cURL可以在这里找到:如何在Windows中安装cURL?

关于cURL安装的官方文档可以在这里找到:http://php.net/manual/en/curl.installation.php

为PHP5安装JSON模块:http://slaptijack.com/system-administration/lets-install-json-for-php-5/

此处的官方文档:http://php.net/manual/en/json.installation.php

关于在Windows上安装PHP的一般信息可以在这里找到:http://php.net/manual/en/install.pecl.windows.php