# svn checkout
# cd trunk
# phpize
# ../configure --with-php-config=/opt/php/bin/php-config
/**
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613checking for PHP installed headers prefix... /usr/local/php/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... noconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.checking for gawk... gawkchecking for mogilefs support... yes, sharedconfigure: error: Cannot find libneon
如果是报了这样的错误就要安装neon-devel包。
yum install neon-devel就解决了。
**/
# make
# make install
修改/opt/php/etc/php.ini配置文件,添加以下内容:
extension=mogilefs.so