JSON on RHEL & PHP 5.1.6
Stuck with PHP 5.1.6 on RHEL or even CentOS (and a sysadmin who insists on using packages)? Need JSON? I did. The solution is easy:
yum install php-devel
pecl install json
The pecl install failed when it hit an 8MB memory limit, and I was clueless about how to fix it until I learned that the pecl installer ignores the php.ini. Turns out the best solution is to use the pear installer (which does follow php.ini settings):
pear install pecl/json
1 Comment(s)
Comments RSS TrackBack Identifier URI
Leave a comment
I paul hereby apply to ur company i am a native of nigeria.i was born in_ 1980 in ondo