?
Solved

Need help installing json on mac

Posted on 2014-11-11
4
Medium Priority
?
200 Views
Last Modified: 2014-11-12
Hi Experts,

I am trying to install a script, but having trouble installing the json php extension.  I am running php version 5.1.6,  i know upgraded has it built in but to run my script had to downgrade.  

How do you install json on php in mac?  i downloaded pear and followed soem steps but cannot get it to work.
0
Comment
Question by:kasondeneddy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 40435612
I don't think you can get it to work below PHP 5.2.  Even PHP 5.3 is several years old and obsolete today; current versions are 5.4.34, 5.5.18 and 5.6.2.  The alternative question you may want to ask is "why is my code unusable with modern versions of PHP?"

Ref: http://php.net/
Ref: http://php.net/manual/en/function.json-decode.php
0
 

Author Comment

by:kasondeneddy
ID: 40437045
Thanks Ray paseur, after looking further into it, discovered that I really shouldn't be working with code that works on much earlier versions.  Learn a lot here..and thanks for your feedback
0
 

Author Closing Comment

by:kasondeneddy
ID: 40437046
Lead in the right direction...thanks!
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 40437053
Thanks for the points and best of luck with it! ~Ray
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question