#46557 [Opn->Bgs]: --disable-all seems to disable json
| From: | bjori@php.net | Date: | Wed, 12 Nov 2008 19:37:08 +0000 |
| Subject: | #46557 [Opn->Bgs]: --disable-all seems to disable json | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1493@lists.php.net to get a copy of this message | ||
ID: 46557
Updated by: bjori@php.net
Reported By: dmitryshw at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Montavista
PHP Version: 5.2.6
New Comment:
It never claims it cannot be disabled.
"As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP
by default. "
Previous Comments:
------------------------------------------------------------------------
[2008-11-12 18:55:39] jani@php.net
docs are wrong. --disable-all disables all.
------------------------------------------------------------------------
[2008-11-12 16:36:56] dmitryshw at hotmail dot com
Description:
------------
Using PHP 5.2.6, documentation claims json is part of the core, cannot
be enabled or disabled.
Config:
'./configure' '--disable-all'
'--with-apxs2=/opt/montavista50_p3/pro/devkit/x86/pentium3/bin/apxs'
'--enable-libxml' '--with-libxml-dir=/opt/montavista50_p3/common'
'--enable-ftp' '--enable-sockets' '--enable-spl'
'--enable-session'
'--enable-xml' '--with-pcre-regex' '--disable-cli'
'--disable-ipv6'
'--disable-reflection' '--disable-dom'
Expected result:
----------------
json_encode/decode works
Actual result:
--------------
[11-Nov-2008 19:57:58] PHP Fatal error: Call to undefined function
json_encode() in ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46557&edit=1