HOWTO Compile PECL json extensions?

Step 1 : Download json extensions from http://pecl.php.net/package/json
Step 2 : Extracting json-1.2.1.tgz
Step 3 : Compiling PECL json extensions by following commands

# cd json-1.2.1
# phpize
# ./configure
# make
# make install

Step 4 : Configuring php

# vi /etc/php.d/json.ini 

; Enable json extension module
extension=json.so

Step 5 : Restarting httpd

# service httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.