php jsonをインストール

json_encode json_decode が使えなかった場合。

http://jp.php.net/manual/ja/json.installation.php

Installation steps on CentOs 5.3 include

# yum install php-devel
# yum install php-pear
# yum install gcc
# pear install pecl/json

# cd /etc/php.d
# echo “extension=json.so” > json.ini
# service httpd restart

After that phpinfo() would output

json support enabled
json version 1.2.1

This entry was posted on 金曜日, 2月 12th, 2010 at 1:55 AM and is filed under php. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。