Re: JSON in PHP5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




With debug enable php -m shows json present and without debug json isn't.  BTW, I'm on FreeBSD 7.0 if that makes a difference.



----- Original Message ----
From: mike <mike503@xxxxxxxxx>
To: Dan Zilavy <danz0402@xxxxxxxxx>
Cc: php-general@xxxxxxxxxxxxx
Sent: Friday, September 26, 2008 12:12:47 PM
Subject: Re:  JSON in PHP5?

On Fri, Sep 26, 2008 at 11:00 AM, Dan Zilavy <danz0402@xxxxxxxxx> wrote:
The json extension is included as default if the debug option is enabled, but the json extension isn't included if the debug option is disabled.  Bummer!

i don't use debug and it is there just fine. are you -sure- there's
not something else going on? :)




First of all it would help a lot if you changed the way you post.

It really makes a difference what you use to "host" PHP because different compile options are used by different distros. In addition to this when you complile yourself from PHP source it adds any feature it finds available depending on the system libraries and many other things that detects .

FreeBSD ports have their own defaults but you may change them when you install the port.

So the answer is simple: Whether you have or not Json depends on the distro/OS/system package defaults.

Why don't you tell us what is the system and how you have installed PHP? Someone could be more knowledgeable of your system specifics.

--
Thodoris


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux