安装

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

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

add a note add a note

User Contributed Notes 1 note

up
-67
CoderUA at example dot com
12 years ago
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
To Top