php - JSON module is probably installed but json_encode() doesn't exist -


i've installed lamp on ubuntu 14.04 , php5-json module. seems installed because it's situated on list of modules on phpinfo() page. phpinfo()

but function_exists("json_encode") returns false

update:
solved problem editing file path marked below: enter image description here

two ideas coming mind :

  • restart server after module installation ?

  • check php.ini , line looks :

    extension=json.so


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -