php - Fatal error: Call to undefined function json_encode() -


i using php 5.1.6 , wamp5 version 1.6.5. not support json getting error:

fatal error: call undefined function json_encode() in c:\wamp\www\myproject\application\controllers\auth\auth.php on line 142

how can solve please me out.

you have use library if check php.net page see function not available until v5.2.

json_encode

(php 5 >= 5.2.0, pecl json >= 1.2.0, php 7)

http://php.net/manual/en/function.json-encode.php


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -