store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Thu Jul 24, 2014 9:00 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: JSON support for PHP???
Unread postPosted: Thu Nov 03, 2011 3:45 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 31, 2011 11:47 am
Posts: 100
Location: UK
Hello breun,
Quote:
rpm -Uvh --force php-common-5.3.8-2.el6.art.x86_64.rpm
service httpd reload


Seems to have done the trick. phpinfo() now reports:

Quote:
json support enabled
json version 1.2.1


Strange thing is that PHP still seems to be compiled with "--disable-json", presumably I could only change that if I follow Mike's suggestion of "yum remove php" and then do a "yum install php"?

Many thanks!


Top
 Profile  
 
 Post subject: Re: JSON support for PHP???
Unread postPosted: Thu Nov 03, 2011 4:51 pm 
Online
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7862
Location: earth
its not compiled with --disable-json. Don't trust phpinfo, it doesnt actually report the facts


Top
 Profile  
 
 Post subject: Re: JSON support for PHP???
Unread postPosted: Thu Nov 03, 2011 4:57 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
It's loaded as a separate module. Indeed, don't pay too much attention to those flags. It was working all along, you just happened to break it and fix it again. :)

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group