我刚刚设置了我的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环境中发生了什么变化。
答案 0 :(得分:0)
在ubuntu问题解决后错过了php5-json扩展