如何为PHP 4.3.3安装php-json? [英] how can i install php-json for php 4.3.3?
问题描述
我认为标题是不言自明的,我使用的是easyPHP 1.7,它的php版本为4.3.3,其本身不包括对json的支持,因此我在网上找到了php-json,但没有这样做.不知道如何设置.有人可以帮忙.谢谢.
i think the title is self-explanatory, i work with easyPHP 1.7, which has the php version 4.3.3, which by itself doesn't include support for json, so i found php-json on the web but don't know how to set it up. so can someone help. thanks.
推荐答案
PHP 4.3的JSON模块可以在 PECL中找到.对于您来说不幸的是,这些软件包是以源代码的形式提供的,因此您必须手动对其进行编译,这在Windows上是一个非常严重的问题.还有另一种服务,带有二进制DLL-s的pecl4win,但现在似乎已关闭.
The JSON module for PHP 4.3 can be found in PECL. Unfortunately for you, the packages are provided in a form of a source code, so you have to compile them manually and this is a quite serious problem on Windows. There is another service, pecl4win with binary DLL-s, but it seems to be down now.
我建议您将PHP更新到更新的版本,因为既不支持也不开发PHP4,并且PHP 4.3的PHP-JSON也是如此.请注意,从5.3.0版本开始,该模块将成为PHP核心的一部分.
I'd suggest you to update PHP to some newer version, because PHP4 is neither supported nor developed and the same is with PHP-JSON for PHP 4.3. Note that the module is going to be a part of PHP core since 5.3.0 version.
这篇关于如何为PHP 4.3.3安装php-json?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!