文字

安装

要使用本类函数,需要在编译 PHP 时加上 --enable-calendar

PHP 的 Windows 版本已内建对此扩展的支持。不需要载入额外的扩展来使用这些函数。

用户评论:

[#1] CoderUA at example dot com [2011-12-04 14:55:31]

FreeBSD Installation for PHP5:

Installation from packages:
pkg_add php5-calendar

Installation from ports:
cd /usr/ports/misc/php5-calendar && make install clean

Then to enable this module, add the following to php.ini (usually in /usr/local/etc/php/extensions.ini)

    extension=calendar.so

上一篇: 下一篇: