Solved

Need help installing json on mac

Posted on 2014-11-11
4
192 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 110

Accepted Solution

by:
Ray Paseur earned 500 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 110

Expert Comment

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

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

705 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