502 Bad Gateway
1、您使用的Linux发行版本及版本号:Debian 捷克免费vps2、502 Bad Gateway
php安装不成功
一开始安装0.6也是,安装那些方法还是 不行,就安装0.5问题也是一样。单独安装php,安装不了。请军歌帮忙,谢谢。
附件
[ 本帖最后由 jxyk2007 于 2011-4-20 16:28 编辑 ]
回复 1# 的帖子
vps什么配置?php单独安装什么错误提示 不可以上传附件? 已经上传了附件。。。
回复 4# 的帖子
下不了,用本站的上传附件 不可以上传附件啊 ??????附件:http://chlumsan.vserver.cz/lnmp.rar
http://chlumsan.vserver.cz/fj.jpg 已经上传了附件。。。 日志不完整,你直接说你php手动编译时的错误吧 chlumsan:~/php-5.2.14# make
make: *** No targets specified and no makefile found.Stop. configure哪一步还没执行吧,执行看看有什么错误 Sorry, I cannot run apxs.Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/apache/bin/apxs follows:
./configure: line 6461: /usr/local/apache/bin/apxs: No such file or directory
configure: error: Aborting chlumsan:/phptest/libmcrypt-2.5.8# /sbin/ldconfig
/sbin/ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link
/sbin/ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link
chlumsan:/phptest/libmcrypt-2.5.8# cd libltdl/
chlumsan:/phptest/libmcrypt-2.5.8/libltdl# ./configure Cenable-ltdl-install
configure: warning: Cenable-ltdl-install: invalid host type
creating cache ./config.cache
configure: warning: *** The top-level configure must select either
configure: warning: *** AC_LIBLTDL_INSTALLABLE or AC_LIBLTDL_CONVENIENCE.
configure: error: *** Maybe you want to --enable-ltdl-install?
chlumsan:/phptest/libmcrypt-2.5.8/libltdl# make && make install
make: *** No targets specified and no makefile found.Stop.
chlumsan:/phptest/libmcrypt-2.5.8/libltdl# make && make install
make: *** No targets specified and no makefile found.Stop.
chlumsan:/phptest/libmcrypt-2.5.8/libltdl# cd /phptest/libmcrypt-2.5.8
chlumsan:/phptest/libmcrypt-2.5.8# /sbin/ldconfig
/sbin/ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link
/sbin/ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link
chlumsan:/phptest/libmcrypt-2.5.8# /usr/lib/libmysqlclient_r.so.16 is not a symbolic link
Segmentation fault configure: warning: *** The top-level configure must select either
configure: warning: *** AC_LIBLTDL_INSTALLABLE or AC_LIBLTDL_CONVENIENCE.
configure: error: *** Maybe you want to --enable-ltdl-install? ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-mbstring --enable-ftp --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --enable-magic-quotes --with-mysql=/usr/local/mysql --with-pear --enable-sockets --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib --enable-sysvsem --enable-sysvshm --with-libxml-dir=/usr--with-iconv-dir=/usr/local --with-xmlrpc --enable-xml --enable-shmop --enable-zip --with-mhash --with-mcrypt --enable-discard-path --enable-bcmath --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --with-openssl make之后
ext/gd/libgd/gdkanji.o: In function `do_convert':
/root/php-5.2.14/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/gd/libgd/gdkanji.c:365: undefined reference to `libiconv'
/root/php-5.2.14/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_appendl':
/root/php-5.2.14/ext/iconv/iconv.c:348: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:385: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `_php_iconv_mime_decode':
/root/php-5.2.14/ext/iconv/iconv.c:1354: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:1823: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:1826: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:1465: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:1468: undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `_php_iconv_strlen':
/root/php-5.2.14/ext/iconv/iconv.c:603: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:626: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:660: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_substr':
/root/php-5.2.14/ext/iconv/iconv.c:723: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:747: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:802: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:806: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:755: undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `php_iconv_string':
/root/php-5.2.14/ext/iconv/iconv.c:441: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:453: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:467: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:478: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_strpos':
/root/php-5.2.14/ext/iconv/iconv.c:851: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:879: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:993: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_mime_encode':
/root/php-5.2.14/ext/iconv/iconv.c:1043: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:1057: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/iconv/iconv.c:1176: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:1128: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:1160: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:1228: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:1259: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:1316: undefined reference to `libiconv_close'
/root/php-5.2.14/ext/iconv/iconv.c:1303: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_dtor':
/root/php-5.2.14/ext/iconv/iconv.c:2465: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/root/php-5.2.14/ext/iconv/iconv.c:2616: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:2615: undefined reference to `libiconv'
/root/php-5.2.14/ext/iconv/iconv.c:2537: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/root/php-5.2.14/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/root/php-5.2.14/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/root/php-5.2.14/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/root/php-5.2.14/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** Error 1
页:
[1]
2