Closed
Bug 533486
Opened 15 years ago
Closed 15 years ago
PHP JSON package install for mozilla.com sites
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: abuchanan, Assigned: oremj)
References
()
Details
(Whiteboard: 12/17/2009 @ 7pm)
Hey, Please make sure that the PHP functions json_decode() and json_encode() work on www.authstage.mozilla.com and www.mozilla.com fox2mike and I recently debugged this problem on www-trunk.stage, and found that the PECL package was installed but not configured properly. http://www.php.net/manual/en/json.requirements.php The page using these functions will launch a week from today. Thanks.
Comment 1•15 years ago
|
||
This will need to be set up in puppet in order to work properly in production (since those servers can get replaced at random and need to be set up correctly automatically when they get loaded from scratch). The page you linked was last updated 4 days ago and no longer includes any configuration information, only "compiled in by default in PHP 5.2.0 and newer". I can't find a page history to look at the older versions at all. Can you share the needed configuration information?
Reporter | ||
Comment 2•15 years ago
|
||
fox2mike can be more specific about what he did to fix the issue. You can... a) install the JSON PECL package and configure apache-php to load the .so module. I think this is in /etc/httpd/conf.d/json.conf? (the name json.conf could be wrong) Also, you'll need to restart apache to load the new config. or, b) upgrade to php 5.2 (currently we're at 5.1.6 I think)
Assignee | ||
Comment 3•15 years ago
|
||
I think I'd rather just update php to 5.2, so that it will be in sync with the other clusters.
Updated•15 years ago
|
Assignee: server-ops → mrz
Flags: needs-downtime+
Whiteboard: 12/15/2009 @ 7pm
Updated•15 years ago
|
Assignee: mrz → server-ops
Assignee | ||
Comment 4•15 years ago
|
||
Tonight @ 7pm?
Assignee: server-ops → jeremy.orem+bugs
Whiteboard: 12/15/2009 @ 7pm → 12/17/2009 @ 7pm
Assignee | ||
Comment 5•15 years ago
|
||
Prod and stage are PHP 5.2.9 (cli) (built: Jun 23 2009 14:49:15)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•