You are not logged in.

#1 2011-03-25 01:25:46

hadenp
Member
Registered: 2011-03-25
Posts: 1

Enable JSON Support?

What's the procedure to get json working in PHP 5.3.5?  I see the json.so extension commented out in php.ini.  Do I just need to uncomment it and restart Apache? or does it require compiling/linking or configuring?

I'm new to Arch and haven't had to do this before.
Thanks.

Offline

#2 2011-03-25 01:30:18

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Enable JSON Support?

Well I don't know the answer. I'm sure a quick Google search will help you, and if you need to compile/link something have a look at the ABS.


Personally, I'd rather be back in Hobbiton.

Offline

#3 2011-03-25 02:06:34

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,283
Website

Re: Enable JSON Support?

http://lmgtfy.com/?q=enable+json+php

If you have some specific problems, ask those. I suggest you should review the Forum Etiquette. and in particular number 24 "How to Post".

Last edited by fukawi2 (2011-03-25 02:08:37)

Offline

#4 2011-05-24 17:56:12

green_rabbit
Member
Registered: 2011-05-24
Posts: 1

Re: Enable JSON Support?

fukawi2 wrote:

http://lmgtfy.com/?q=enable+json+php

If you have some specific problems, ask those. I suggest you should review the Forum Etiquette. and in particular number 24 "How to Post".

Sorry, but have you tried your advice?
No, really.
googling for "php json enabled" bring ubuntu(install a metapackage) and gentoo(USE+emerge).
Googling "php json enable arch " brings me here.
Just uncommenting
extension=json.so
makes nothing. Nothing also in logs.
So please give an answer if you have. Everyone can google without your help.

Offline

#5 2011-05-24 18:05:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,727

Re: Enable JSON Support?

json support is enabled in the php build in arch(--enable-json=shared), you just have to enable it in the config.

Last edited by Mr.Elendig (2011-05-24 19:48:07)


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2011-05-24 23:15:12

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,283
Website

Re: Enable JSON Support?

green_rabbit wrote:

Sorry, but have you tried your advice?
No, really.

First result is this:
http://slaptijack.com/system-administra … for-php-5/

fukawi2 wrote:

If you have some specific problems, ask those.

Emphasis added to the above. The information you've posted below is more useful for others to be able to help you:

green_rabbit wrote:

Just uncommenting
extension=json.so
makes nothing. Nothing also in logs.

Did you restart Apache like the link above suggests?

/etc/rc.d/httpd restart

Offline

#7 2012-10-11 20:11:27

el
Member
Registered: 2011-02-16
Posts: 2

Re: Enable JSON Support?

Guys fogot to include json-glib into PKGBUILD dependencies. Install this one and json.so will appear

Offline

#8 2012-10-11 20:35:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,727

Re: Enable JSON Support?

el wrote:

Guys fogot to include json-glib into PKGBUILD dependencies. Install this one and json.so will appear

15830674.jpg

I suspect that op have solved his problem during the 1.5 years since his last post in this thread.


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2012-10-11 20:38:36

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,786
Website

Re: Enable JSON Support?

Mr.Elendig wrote:
el wrote:

Guys fogot to include json-glib into PKGBUILD dependencies. Install this one and json.so will appear

http://cdn.memegenerator.net/instances/ … 830674.jpg

I suspect that op have solved his problem during the 1.5 years since his last post in this thread.


Indeed. https://wiki.archlinux.org/index.php/Fo … Bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB