AWS Service全面通知

时间:2014-01-06 18:44:31

标签: php amazon-web-services

我刚刚设置了我的QA环境,我收到了这些我不理解的错误

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant JSON_ERROR_NONE - assumed 'JSON_ERROR_NONE'

Filename: Description/ServiceDescription.php

Line Number: 48

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant JSON_ERROR_DEPTH - assumed 'JSON_ERROR_DEPTH'

Filename: Description/ServiceDescription.php

Line Number: 48

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant JSON_ERROR_STATE_MISMATCH - assumed 'JSON_ERROR_STATE_MISMATCH'

Filename: Description/ServiceDescription.php

Line Number: 48

这是我的生产代码的复制品,工作正常,不知道QA环境中发生了什么变化。

1 个答案:

答案 0 :(得分:0)

在ubuntu问题解决后错过了php5-json扩展