Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
JSON install for CentOS 5.6 / PHP 5.1.6
I tried installing JSON with our curent PHP 5.1.6...
>> pecl install json
No releases available for package "pecl.php.net/json"
Cannot initialize 'json', invalid or missing package file
Package "json" is not valid
So I then tried to upgrade our PHP 5.1.6 install (to 5.2+ which I understand includes JSON)...
>> yum update "*php*"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.atlantic.net
* extras: centos-distro.cavecreek.ne
* updates: mirror.nandomedia.com
Setting up Update Process
No Packages marked for Update
I'm not sure what my next step is to get JSON installed. Thanks in advance for your help!
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Thanks for the fast reply! I tried this on our test box and came up with a conflict.
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
(I'm not a Linux admin.) Is PHP 5.3 ok to run on a production box or is it safer to install 5.2.x?
Yes, php53 is ok to run on production and it is better than 5.2.x.
Please get a developer box to uninstall all php 5.1.x and install php53 on it to avoid breaking something which require php 5.1.x if there is any.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent