Friends who use PHP5.5 in Linux systems will find that json_encode cannot be called after installing and upgrading to PHP5.5. This is not a version problem but an error in our operation process. The solution is simple.
After installing php 5.5 through apt-get on ubuntu13.10, I installed drupal and an error occurred that json_encode could not be called. I was very puzzled. PHP has built-in json for a long time. Why is it like this now?
The code is as follows
|
Copy code
|
||||
sudo aptget php5-json |
http: //www.bkjia.com/PHPjc/633182.html