|
PHP5中文手册
xattr Functions简介The xattr extension allows for the manipulation of extended attributes on a filesystem. 需求To use xattr, you will need libattr installed. It is available at » http://oss.sgi.com/projects/xfs/.
安装xattr is currently available through PECL » http://pecl.php.net/package/xattr. If » PEAR is available on your *nix-like system you can use the pear installer to install the xattr extension, by the following command: pear -v install xattr. You can always download the tar.gz package and install xattr by hand: Example#1 xattr install by hand gunzip xattr-xxx.tgz tar -xvf xattr-xxx.tar cd xattr-xxx phpize ./configure && make && make install 预定义常量以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。
Table of Contents
|