Solved

Need help installing json on mac

Posted on 2014-11-11
4
176 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
  • 2
  • 2
4 Comments
 
LVL 109

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 109

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
applying error reporting code to see paypal error messages 13 49
php simple error message 4 22
000webhost.com default error log 1 24
CSS: Making responsive table look nicer 7 23
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now