全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 7731|回复: 28
打印 上一主题 下一主题

Nginx + Discuz 不能上传远程附件

[复制链接]
跳转到指定楼层
1#
发表于 2009-8-29 21:05:32 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
远程附件的FTP主机
在cPanel环境下,可以正常上传至远程主机
Nginx却上传到本地主机,远程FTP主机传不上去

请教...
Nginx 如何让 Discuz 能上传远程附件 ??
29#
发表于 2009-8-29 22:36:30 | 只看该作者

回复 28# 的帖子

Thx for your scores
28#
 楼主| 发表于 2009-8-29 22:35:29 | 只看该作者
可以评分耶~
27#
发表于 2009-8-29 22:28:07 | 只看该作者

回复 26# 的帖子

还不给我加分?
我不喜欢远程附件哦,除非远程附件所在服务器是自己的独立服务器   专门来存储这些东西的。

评分

参与人数 1威望 +20 收起 理由
bluesky + 20 我很赞同

查看全部评分

26#
 楼主| 发表于 2009-8-29 22:25:34 | 只看该作者
成功了~
可以使用远程附件辣 ... 开心
25#
发表于 2009-8-29 22:14:08 | 只看该作者

回复 24# 的帖子

嗯,不make clean也可以的。
24#
 楼主| 发表于 2009-8-29 22:06:24 | 只看该作者
原帖由 cpuer 于 2009-8-29 22:00 发表
可以考虑删除那些重复的文件先,然后再编译安装。


加入 make clean 了
这样对吧?

tar zxvf php-5.2.10.tar.gz
gzip -cd php-5.2.10-fpm-0.5.11.diff.gz | patch -d php-5.2.10 -p1
cd php-5.2.10/
./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --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 --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap --without-pear --enable-ftp
make ZEND_EXTRA_LIBS='-liconv'
make clean
make install
cp php.ini-dist /usr/local/webserver/php/etc/php.ini
cd ../

( 话说 ... 偶把 y 按完了  )
23#
发表于 2009-8-29 22:00:44 | 只看该作者

回复 22# 的帖子

可以考虑删除那些重复的文件先,然后再编译安装。
22#
 楼主| 发表于 2009-8-29 21:54:29 | 只看该作者
按不完 y 好多

patching file configure
patching file configure.in
The next patch would create the file libevent/aclocal.m4,
which already exists!  Assume -R? [n] y
Apply anyway? [n] y
patching file libevent/aclocal.m4
Patch attempted to create file libevent/aclocal.m4, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file libevent/aclocal.m4.rej
The next patch would create the file libevent/autogen.sh,
which already exists!  Assume -R? [n] y
patching file libevent/autogen.sh
The next patch would create the file libevent/buffer.c,
which already exists!  Assume -R? [n] y
patching file libevent/buffer.c
The next patch would create the file libevent/ChangeLog,
which already exists!  Assume -R? [n] y
patching file libevent/ChangeLog
The next patch would create the file libevent/compat/sys/queue.h,
which already exists!  Assume -R? [n] y
patching file libevent/compat/sys/queue.h
The next patch would create the file libevent/compat/sys/_time.h,
which already exists!  Assume -R? [n] y
patching file libevent/compat/sys/_time.h
The next patch would create the file libevent/config.h.in,
which already exists!  Assume -R? [n] y
patching file libevent/config.h.in
The next patch would create the file libevent/configure,
which already exists!  Assume -R? [n] y
patching file libevent/configure
The next patch would create the file libevent/configure.in,
which already exists!  Assume -R? [n] y
patching file libevent/configure.in
The next patch would create the file libevent/depcomp,
which already exists!  Assume -R? [n] y
patching file libevent/depcomp
The next patch would create the file libevent/devpoll.c,
which already exists!  Assume -R? [n] y
patching file libevent/devpoll.c
The next patch would create the file libevent/epoll.c,
which already exists!  Assume -R? [n] y
patching file libevent/epoll.c
The next patch would create the file libevent/epoll_sub.c,
which already exists!  Assume -R? [n] y
patching file libevent/epoll_sub.c
The next patch would create the file libevent/evbuffer.c,
which already exists!  Assume -R? [n] y
patching file libevent/evbuffer.c
The next patch would create the file libevent/event.3,
which already exists!  Assume -R? [n] y
y
patching file libevent/event.3
The next patch would create the file libevent/event.c,
which already exists!  Assume -R? [n] patching file libevent/event.c
The next patch would create the file libevent/event-config.h,
which already exists!  Assume -R? [n] y
patching file libevent/event-config.h
The next patch would create the file libevent/event-fpm.h,
which already exists!  Assume -R? [n] y
patching file libevent/event-fpm.h
The next patch would create the file libevent/event.h,
which already exists!  Assume -R? [n] y
patching file libevent/event.h
The next patch would create the file libevent/event-internal.h,
which already exists!  Assume -R? [n] y
patching file libevent/event-internal.h
The next patch would create the file libevent/evhttp.h,
which already exists!  Assume -R? [n] y
patching file libevent/evhttp.h
The next patch would create the file libevent/evport.c,
which already exists!  Assume -R? [n] y
patching file libevent/evport.c
The next patch would create the file libevent/evsignal.h,
which already exists!  Assume -R? [n] y
patching file libevent/evsignal.h
The next patch would create the file libevent/evutil.c,
which already exists!  Assume -R? [n] y
patching file libevent/evutil.c
The next patch would create the file libevent/evutil.h,
which already exists!  Assume -R? [n] y
patching file libevent/evutil.h
21#
 楼主| 发表于 2009-8-29 21:51:44 | 只看该作者
原帖由 cpuer 于 2009-8-29 21:50 发表
提示文件已经存在,问你是否重试。

按 y 是吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-10 20:59 , Processed in 0.065840 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表