Bigcar 发表于 2010-11-14 04:54:55

请问军哥 php 编译的时候加--with-xmlrpc 吗

想用wlw 离线写日志,wordpress 要求服务器支持xmlrpc。

如果不支持该怎么解决啊! 谢谢了

Bigcar 发表于 2010-11-14 04:58:38

cd php-5.2.14/
./configure --prefix=/opt/module/php --with-config-file-path=/opt/module/php/etc --with-mysql=/opt/module/mysql --with-mysqli=/opt/module/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir=/opt/module/lib/freetype --with-jpeg-dir=/usr/local--with-png-dir=/usr/local--with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd=/opt/module/lib/gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap --with-gettext

make ZEND_EXTRA_LIBS='-liconv'
make install这样重新编译下可以吗,是不是目录要重新指定下,有没有其他药注意的,我的lnmp是默认安装的,按照你提供的安装说明一步步做的。

[ 本帖最后由 Bigcar 于 2010-11-14 04:59 编辑 ]

licess 发表于 2010-11-14 10:50:26

回复 2# 的帖子

默认已经编译上with-xmlrpc了

Bigcar 发表于 2010-11-14 13:20:35

谢谢,原来不是这里问题
页: [1]
查看完整版本: 请问军哥 php 编译的时候加--with-xmlrpc 吗