#46557 [Bgs]: --disable-all seems to disable json
| From: | dmitryshw at hotmail dot com | Date: | Wed, 12 Nov 2008 20:11:40 +0000 |
| Subject: | #46557 [Bgs]: --disable-all seems to disable json | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1494@lists.php.net to get a copy of this message | ||
ID: 46557
User updated by: dmitryshw at hotmail dot com
Reported By: dmitryshw at hotmail dot com
Status: Bogus
Bug Type: Documentation problem
Operating System: Montavista
PHP Version: 5.2.6
New Comment:
Understood. The absence of the enable/disable switches in the
installation section led me to believe this cannot be disabled (nor need
to be enabled explicitly)
Previous Comments:
------------------------------------------------------------------------
[2008-11-12 19:37:08] bjori@php.net
It never claims it cannot be disabled.
"As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP
by default. "
------------------------------------------------------------------------
[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