VPS侦探论坛

标题: 请问军哥 php 编译的时候加--with-xmlrpc 吗 [打印本页]

作者: Bigcar    时间: 2010-11-14 04:54
标题: 请问军哥 php 编译的时候加--with-xmlrpc 吗
想用wlw 离线写日志,wordpress 要求服务器支持xmlrpc。

如果不支持该怎么解决啊! 谢谢了
作者: Bigcar    时间: 2010-11-14 04:58
  1. cd php-5.2.14/
  2. ./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

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

[ 本帖最后由 Bigcar 于 2010-11-14 04:59 编辑 ]
作者: licess    时间: 2010-11-14 10:50
标题: 回复 2# 的帖子
默认已经编译上with-xmlrpc了
作者: Bigcar    时间: 2010-11-14 13:20
谢谢,原来不是这里问题




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4