标题: [教程] 对于lanmp/wdcp不支持微博/QQ登录(https)的问题的解决办法 [打印本页]
作者: admin 时间: 2012-9-27 22:56 标题: 对于lanmp/wdcp不支持微博/QQ登录(https)的问题的解决办法
原因是,apache里没有对SSL的支持,只要重新编译下apache就可以(lamp/lnamp版环境)
如下执行可以完成(针对httpd-2.2.22版本)
wget http://down.wdlinux.cn/in/http2222_ssl.sh
sh http2222_ssl.sh
没有出错安装完成就可以了
如果是lnmp版的环境,则使用下面这个试试(针对默认的php-5.2.17版本)
wget http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh
sh lnmp_php_ssl_5217.sh
如果有错,把错误信息贴上来
以上是针对httpd-2.2.22版本的,如果不是这个版本的,可以改成相应的版本号就可以
作者: ckken 时间: 2012-9-27 22:57
感激 纠结了几个月的问题终于解决了
作者: ckken 时间: 2012-9-27 23:02
之前没有解决问题前内存耗费了400 现在解决之后 内存不到200 真是太好了
作者: 寇寇小盆友 时间: 2012-9-28 15:01
老大,像我这种情况能通过你说的方法解决吗?我觉得有点类似啊!
http://www.wdlinux.cn/bbs/viewthread.php?tid=3664&extra=
还有,怎么看httpd的版本号?我用httpd -V 没反应啊~我的系统是centos 5
作者: 寇寇小盆友 时间: 2012-9-28 15:09
在线等老大的回复,我经不起折腾了,等确认了再去安装。折腾了好几宿了,现在还昏昏沉沉的。
作者: admin 时间: 2012-9-28 15:29
应该是这个原因
可以/www/wdlinux/apache/bin/httpd -v
这样查看
作者: 寇寇小盆友 时间: 2012-9-28 15:41
回复 6# admin
谢谢老大!老大咱们群号是多少啊?我想加入组织!
作者: 寇寇小盆友 时间: 2012-9-28 16:06
卡了,很慢。我可以退了重新输入一次安装命令吗?
作者: 寇寇小盆友 时间: 2012-9-28 16:09
httpd-2.2.22/modules/proxy/mod_proxy_ftp.dep
ht
卡在这里很久了。。。
作者: dake123 时间: 2012-10-15 00:50
我的是 nginx 也无法支持 https, 要如何解决啊?
curl 打开 http 是正常的, 但打开 https 就502错误.
作者: admin 时间: 2012-10-15 09:05
重新编译下 nginx试试
作者: zengtuan 时间: 2012-10-20 17:50
太感谢管理员啦
作者: dake123 时间: 2012-10-29 13:47
我的是 nginx 也无法支持 https, 要如何解决啊?
curl 打开 http 是正常的, 但打开 https 就502错误.
dake123 发表于 2012-10-15 00:50
自己搞定了。 不是nginx的问题, 而是php问题,因为如果用php cli 去运行 curl https 也是同样错误, 提示段错误。
后来自己重新编译 openssl-1.0.1c, 再新编译下PHP, 并指定openssl目录就好了。- openssl 编译 ./config --prefix=/usr/local/openssl
- PHP 编译 --with-openssl=/usr/local/openssl
复制代码
作者: admin 时间: 2012-10-29 16:43
openssl的版本原因?
作者: dake123 时间: 2012-10-30 08:53
回复 14# admin
是的, 我有两台机器, 一台是64位,一台32位, 安装的都是 centos 5.8
安装的是lanmp v2.4中的 lnmp, 都出现php无法处理https连接。 通过web访问提示502错误, 通过php cli运行提示段错误。
作者: taoboacn 时间: 2012-11-8 19:35
感谢大哥啊 ,我还以为是qq平台注册问题,终于解决了!!!!!!
作者: 小平头 时间: 2012-11-14 10:05
安装完还是502
作者: feiyaogzs 时间: 2012-11-14 10:32
这个很好,能解决问题
作者: 179466157 时间: 2012-11-15 13:52
502 Bad Gateway
--------------------------------------------------------------------------------
nginx/1.0.15怎么回事啊
作者: 韩冷君 时间: 2012-11-23 16:31
原因是,apache里没有对SSL的支持,只要重新编译下apache就可以
如下执行可以完成
wget
sh http2222_ssl. ...
admin 发表于 2012-9-27 22:56
NGINX引擎也是这样去解决么?
作者: iverlo 时间: 2012-12-2 20:36
回复 1# admin
搞了一天都没搞好,晚上逛逛论坛,突然看到了,thank you so much!!!
作者: wapsos 时间: 2012-12-4 05:01
记好 --with-openssl=/usr/local/openssl
作者: wapsos 时间: 2012-12-4 05:04
http://cn2.php.net/get/php-5.2.17.tar.gz/from/this/mirror
作者: wapsos 时间: 2012-12-4 05:09
/www/wdlinux/php/bin/phpize
作者: wapsos 时间: 2012-12-4 05:10
./configure --with-openssl=/usr/local/openssl
make;make install
作者: wapsos 时间: 2012-12-4 05:31
--with-php-config=/www/wdlinux/php/bin/php-config
作者: wapsos 时间: 2012-12-4 05:40
做记号呢 做记号呢 做记号呢 做记号呢
作者: wapsos 时间: 2012-12-4 05:43
./configure --with-openssl-dir=/usr/local/openssl --with-openssl
作者: mokii 时间: 2012-12-7 00:35
完美解决,多谢
作者: hohoxj 时间: 2012-12-9 13:24
回复 1# admin
终于解决了 谢谢老大 哈哈。
作者: jiangkij 时间: 2012-12-17 10:14
最后一句提示“configure: error: libjpeg.(a|so) not found.”这是咋回事?
作者: jiangkij 时间: 2012-12-17 10:32
最后一句提示“configure: error: libjpeg.(a|so) not found.”这是咋回事?
jiangkij 发表于 2012-12-17 10:14
解决办法:1.如果提示"configure: error: libjpeg.(a|so) not found"错误
所以这里我们需要复制一份libjpeg.so到/usr/lib/目录里才可以.再次执行./configure命令即可.
cp -frp /usr/lib64/libjpeg.* /usr/lib/2.注意过程中还会提示" Configure: error: libpng.(also) not found."错误,解决办法和上面的一样.
cp -frp /usr/lib64/libpng* /usr/lib/3.如果提示"configure: error: Cannot find ldap libraries in /usr/lib."的话.
cp -frp /usr/lib64/libldap* /usr/lib/
作者: jiangkij 时间: 2012-12-17 10:38
顺带一句我也解决502错误了!不错不错!我使用的是lnmp的环境,安装使用下面这个试试(针对默认的php-5.2.17版本)
wget http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh
sh lnmp_php_ssl_5217.sh
完美解决
作者: dbaaaadb 时间: 2012-12-29 14:16
按照楼上说的那样,但是报错了,没有安装成功,高手给指点下
图片附件: QQ截图20121229141249.png (2012-12-29 14:15, 14.92 KB) / 下载次数 13680
http://wdlinux.cn/bbs/attachment.php?aid=2279&k=b29d52033afd52e0b4c30d540d25e1be&t=1732515426&sid=33SSAh
作者: admin 时间: 2012-12-29 18:39
没有GCC?
作者: junfang3 时间: 2012-12-29 20:42
我的前二天是 完美解决
作者: mokii 时间: 2013-1-8 16:54
x64+nginx的情况下:
1.如果提示"configure: error: libjpeg.(a|so) not found"错误
所以这里我们需要复制一份libjpeg.so到/usr/lib/目录里才可以.再次执行./configure命令即可.
cp -frp /usr/lib64/libjpeg.* /usr/lib/2.注意过程中还会提示" Configure: error: libpng.(also) not found."错误,解决办法和上面的一样.
cp -frp /usr/lib64/libpng* /usr/lib/3.如果提示"configure: error: Cannot find ldap libraries in /usr/lib."的话.
cp -frp /usr/lib64/libldap* /usr/lib/
说明:
通过上面的搜索其实就知道一些原因了,configure一般的搜索编译路径为/usr/lib/下,因为php默认就在/usr/lib/下找相关库文件,而x64机器上是在:/usr/lib64.这时你就可以直接把需要的库文件从/usr/lib64中拷贝到/usr/lib/中去就可以了.
作者: zrpanda 时间: 2013-1-11 11:13
老大。lanmp 是不是 上面2条都要做啊。
作者: 七夜风云 时间: 2013-1-11 12:14
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] ′íÎó 1
make[2]: Leaving directory `/root/lanmp/httpd-2.2.22/support'
make[1]: *** [all-recursive] ′íÎó 1
make[1]: Leaving directory `/root/lanmp/httpd-2.2.22/support'
make: *** [all-recursive] ′íÎó 1
出现这样的要怎么解决?
作者: happyboy 时间: 2013-3-25 13:17
好东西留名学习
作者: 9zhmke 时间: 2013-4-13 15:50
标记一下,受这个困扰很久了
作者: 9zhmke 时间: 2013-4-13 18:36
QQ互联接不上,总是502错,伟大的管理员可不可以写一个升级openssl的sh给大家啊,我写了可以运行不正确,是哪里错了?:
#!/bin/sh
# mysql innodb install scripts
# Author:wdlinux
# Url http://www.wdlinux.cn
set -v on
cd /tmp
#手工解压tar zxvf openssl-1.0.1d.tar.gz
cd openssl-1.0.1d
./config --prefix=/usr/local/openssl
make
make install
./config --with-php-config=/www/wdlinux/php/bin/php-config
./configure --with-openssl-dir=/usr/local/openssl --with-openssl
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln –s /usr/local/openssl/bin/openssl /usr/bin/openssl
ln –s /usr/local/openssl/include/openssl /usr/include/openssl
echo “/usr/local/sslb” >> /etc/ld.so.conf
ldconfig –v
openssl version –a
echo "Open ssl install is OK"
作者: admin 时间: 2013-4-14 13:15
怎么不正常,有什么错误
作者: 9zhmke 时间: 2013-4-16 08:25
怎么不正常,有什么错误
admin 发表于 2013-4-14 13:15
就是升级openssl的版本,一些软件需要这个支持。
作者: admin 时间: 2013-4-16 09:02
我的意思是安装 openssl 有什么错误?
作者: 9zhmke 时间: 2013-4-17 00:53
本帖最后由 9zhmke 于 2013-4-17 01:00 编辑
我的意思是安装 openssl 有什么错误?
admin 发表于 2013-4-16 09:02
首先感谢管理的关注。我安装的是shopnc的商城程序,使用QQ登陆时出现502错误,本贴的前面有用户说换成高版本的1.0.1c可以解决这个问题。但不会安装,按网上查来的资料总出错,按我42楼的脚本根本无法运行,连cd、dir、ls这类的命令都提示出错,没编过这脚本所以提出来请教示一下。
顺便把安装http2222_ssl.sh的log贴一下,麻烦看下对没对:
/www/web/default$ sh http2222_ssl.sh
#!/bin/bash
# mysql innodb install scripts
# Author:wdlinux
# Url http://www.wdlinux.cn
if [ ! -f /usr/bin/gcc ];then
yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel gd-devel freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel curl-devel patch libmcrypt-devel libmhash-devel ncurses-devel sudo bzip2
fi
if [ -d /root/lanmp/httpd-2.2.22 ];then
cd /root/lanmp/httpd-2.2.22
make clean
elif [ -f /root/lanmp/httpd-2.2.22.tar.gz ];then
cd /root/lanmp
tar zxvf httpd-2.2.22.tar.gz
cd httpd-2.2.22
else
cd /tmp
#wget -c http://dl.wdlinux.cn:5180/soft/httpd-2.2.22.tar.gz #手工下载放入/tmp
tar zxvf httpd-2.2.22.tar.gz
cd httpd-2.2.22
fi
.........
IN_DIR="/www/wdlinux"
./configure --prefix=$IN_DIR/httpd-2.2.22 --enable-rewrite --enable-deflate --disable-userdir --enable-so --enable-expires --enable-headers --with-included-apr --with-apr=/usr --with-apr-util=/usr --enable-ssl --with-ssl=/usr
........
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.5
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
Applying APR hints file rules for x86_64-unknown-linux-gnu
setting CPPFLAGS to "-DLINUX=2"
adding "-D_REENTRANT" to CPPFLAGS
adding "-D_GNU_SOURCE" to CPPFLAGS
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether system uses EBCDIC... no
performing libtool configuration...
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
作者: 9zhmke 时间: 2013-4-17 00:55
安装的是shopnc的商城程序,使用QQ登陆时出现502错误,本贴的前面有用户说换成高版本的1.0.1c可以 ...
9zhmke 发表于 2013-4-17 00:53
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
Check for compiler flags...
checking whether the compiler provides atomic builtins... yes
checking whether to enable -D_LARGEFILE64_SOURCE... no
Checking for libraries...
checking for library containing gethostbyname... none required
checking for library containing gethostname... none required
checking for library containing socket... none required
checking for library containing crypt... -lcrypt
checking for main in -ltruerand... no
checking for library containing modf... none required
Checking for Threads...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for CFLAGS needed for pthreads... -pthread
adding "-pthread" to CFLAGS
checking for LIBS needed for pthreads... -lpthread
adding "-lpthread" to LIBS
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for recursive mutex support... yes
checking for pthread_key_delete... yes
checking for pthread_rwlock_init... yes
checking for pthread_attr_setguardsize... yes
checking for pthread_yield... yes
checking for pthread_rwlock_t... yes
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for getservbyname in -lc_r... no
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for getservbyname_r... yes
checking for sigsuspend... yes
checking for sigwait... yes
checking for poll... yes
checking for kqueue... no
checking for port_create... no
checking for epoll support... yes
checking for epoll_create1 support... no
checking for dup3 support... no
checking for accept4 support... no
checking for SOCK_CLOEXEC support... no
checking for fdatasync... yes
checking for epoll_create1 support... (cached) no
checking for dup3 support... (cached) no
checking for accept4 support... (cached) no
checking for SOCK_CLOEXEC support... (cached) no
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes
Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
decision on namebased memory allocation method... SysV IPC shmget()
checking for working alloca.h... yes
checking for alloca... yes
checking for calloc... yes
checking for setsid... yes
checking for isinf... yes
checking for isnan... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for writev... yes
checking for getifaddrs... yes
checking for utime... yes
checking for utimes... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for sigaction... yes
checking whether sys_siglist is declared... yes
checking for fork... yes
checking for inet_addr... yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... yes
checking for type of return code from strerror_r... pointer
checking for mmap... (cached) yes
checking for memmove... yes
checking for getpass... yes
checking for getpassphrase... no
checking for gmtime_r... yes
checking for localtime_r... yes
checking for mkstemp... yes
checking whether sigwait takes one argument... no
checking for ANSI C header files... (cached) yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
作者: 9zhmke 时间: 2013-4-17 00:56
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld ...
9zhmke 发表于 2013-4-17 00:55
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for windows.h... (cached) no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether setpgrp takes no argument... yes
checking for socklen_t... yes
checking size of void*... 8
checking size of char... 1
checking size of int... 4
checking size of long... 8
checking size of short... 2
checking size of long long... 8
checking for INT64_C... yes
checking size of pid_t... 4
checking whether ssize_t and int are the same... no
checking whether ssize_t and long are the same... yes
checking whether size_t and unsigned int are the same... no
checking whether size_t and unsigned long are the same... yes
checking size of ssize_t... 8
checking which format to use for apr_ssize_t... %ld
checking size of size_t... 8
checking which format to use for apr_size_t... %lu
checking size of off_t... 8
checking which type to use for apr_off_t... off_t
checking size of ino_t... 8
configure: using ino_t for ino_t
checking whether byte ordering is bigendian... no
checking size of struct iovec... 16
checking for strnicmp... no
checking for strncasecmp... yes
checking for stricmp... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strstr... yes
checking for memchr... yes
checking for strtol... yes
Checking for DSO...
checking for dlopen... no
checking for dlopen in -ldl... yes
作者: 9zhmke 时间: 2013-4-17 00:57
回复 48# 9zhmke
adding "-ldl" to LIBS
checking for dlsym... yes
Checking for Processes...
checking for waitpid... yes
checking for Variable Length Arrays... yes
checking struct rlimit... yes
Checking for Locking...
checking for semget... yes
checking for semctl... yes
checking for flock... yes
checking for semaphore.h... (cached) yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking for library containing sem_open... none required
checking for sem_close... yes
checking for sem_unlink... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for create_sem... no
checking for working sem_open... yes
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... yes
checking for working PROCESS_SHARED locks... yes
checking for robust cross-process mutex support... yes
decision on apr_lock implementation method... SysV IPC semget()
checking if fcntl returns EACCES when F_SETLK is already held... no
checking if all interprocess locks affect threads... no
checking if POSIX sems affect threads in the same process... no
checking if SysV sems affect threads in the same process... no
checking if fcntl locks affect threads in the same process... no
checking if flock locks affect threads in the same process... no
checking for entropy source... /dev/urandom
Checking for File Info Support...
checking for struct stat.st_blocks... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_atime_n... no
checking for struct stat.st_ctime_n... no
checking for struct stat.st_mtime_n... no
checking for inode member of struct dirent... d_fileno
checking for file type member of struct dirent... d_type
Checking for OS UUID Support...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking for library containing uuid_create... no
checking for library containing uuid_generate... no
checking for uuid_create... no
checking for uuid_generate... no
checking for os uuid usability... no
Checking for Time Support...
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
Checking for Networking support...
checking for type in_addr... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... glibc2
checking 3rd argument to the gethostbyname_r routines... char
checking style of getservbyname_r routine... glibc2
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... no
checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported... no
checking for struct ip_mreq... yes
checking for set_h_errno... no
Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for working AI_ADDRCONFIG... yes
checking if APR supports IPv6... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
setting have_unicode_fs to "0"
setting apr_has_xthread_files to "0"
setting apr_procattr_user_set_requires_password to "0"
setting apr_thread_func to ""
setting apr_has_user to "1"
Restore user-defined environment settings...
restoring CPPFLAGS to ""
setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
restoring CFLAGS to ""
setting EXTRA_CFLAGS to "-g -O2 -pthread"
restoring LDFLAGS to ""
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-lrt -lcrypt -lpthread -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged
srclib/apr configured properly
setting CC to "gcc"
setting CPP to "gcc -E"
setting CFLAGS to " -g -O2 -pthread"
setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
configuring package in srclib/apr-util now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.4.1
checking for chosen layout... apr-util
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
checking for APR... yes
setting CPP to "gcc -E"
adding "-pthread" to CFLAGS
setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for default DBM... sdbm (default)
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.h... no
checking sybdb.h usability... no
checking sybdb.h presence... no
checking for sybdb.h... no
checking freetds/sybdb.h usability... no
checking freetds/sybdb.h presence... no
checking for freetds/sybdb.h... no
checking for odbc_config... no
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking odbc/sql.h usability... no
checking odbc/sql.h presence... no
checking for odbc/sql.h... no
checking Expat 1.95.x... no
checking old Debian-packaged expat... no
checking old FreeBSD-packaged expat... no
checking Expat 1.0/1.1... no
setting LDFLAGS to "-L/usr/local/lib"
adding "-I/usr/local/include" to CPPFLAGS
checking Expat 1.95.x in /usr/local... no
nulling LDFLAGS
removed "-I/usr/local/include" from CPPFLAGS
作者: 9zhmke 时间: 2013-4-17 00:58
checking for rm... /bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking for rsync... /usr/bin/rsync
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for lynx... no
checking for links... no
checking for elinks... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for library containing sqrt... -lm
checking for library containing crypt... -lcrypt
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for getpgid... yes
checking for void pointer length... no
checking for tm_gmtoff in struct tm... yes
checking whether to enable mod_authn_file... yes (default)
checking whether to enable mod_authn_dbm... no
checking whether to enable mod_authn_anon... no
checking whether to enable mod_authn_dbd... no
checking whether to enable mod_authn_default... yes (default)
checking whether to enable mod_authn_alias... no
checking whether to enable mod_authz_host... yes (default)
checking whether to enable mod_authz_groupfile... yes (default)
checking whether to enable mod_authz_user... yes (default)
checking whether to enable mod_authz_dbm... no
checking whether to enable mod_authz_owner... no
checking whether to enable mod_authnz_ldap... no
checking whether to enable mod_authz_default... yes (default)
checking whether to enable mod_auth_basic... yes (default)
checking whether to enable mod_auth_digest... no
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... no
checking whether to enable mod_cache... no
checking whether to enable mod_disk_cache... no
checking whether to enable mod_mem_cache... no
checking whether to enable mod_dbd... no
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... no
checking whether to enable mod_echo... no
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_reqtimeout... no
checking whether to enable mod_ext_filter... no
checking whether to enable mod_include... yes (default)
checking whether to enable mod_filter... yes (default)
checking whether to enable mod_substitute... no
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... checking dependencies
checking for zlib location... /usr
adding "-lz" to LIBS
checking for zlib library... found
forcing MOD_DEFLATE_LDADD to "-lz"
removed "-lz" from LIBS
checking whether to enable mod_deflate... yes (default)
checking whether to enable mod_ldap... no
checking whether to enable mod_log_config... yes (default)
checking whether to enable mod_log_forensic... no
checking whether to enable mod_logio... no
checking whether to enable mod_env... yes (default)
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... yes (default)
checking whether to enable mod_headers... yes (default)
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... no
checking whether to enable mod_setenvif... yes (default)
checking whether to enable mod_version... yes (default)
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_scgi... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr
adding "-I/usr/include" to CPPFLAGS
adding "-I/usr/include" to INCLUDES
adding "-L/usr/lib" to LDFLAGS
checking for OpenSSL version... checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
configure: error: ...No recognized SSL/TLS toolkit detected
[ $? != 0 ] && exit
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
作者: 9zhmke 时间: 2013-4-19 17:29
求管理关注。求升级openssl成高版本的比如1.0.1c的脚本,安装的shopnc的商城程序,使用QQ登陆时出现502错误,本贴的前面有用户说换成高版本的1.0.1c可以解决这个问题。但不会安装,按网上查来的资料总出错,按我42楼的脚本根本无法运行,连cd、dir、ls这类的命令都提示出错,没编过这脚本所以只能提出来请教了。
作者: admin 时间: 2013-4-20 10:41
yum install -y openssl openssl-devel
作者: 9zhmke 时间: 2013-4-21 12:59
本帖最后由 9zhmke 于 2013-4-21 16:12 编辑
yum install -y openssl openssl-devel
admin 发表于 2013-4-20 10:41
老大,用这个提令升级提示正常完成,但重启后查看版本显示是OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008,而且测试登陆同样出错,测试地址:http://msde.cn/index.php?act=login 右下方的QQ登录。有没其他办法可以升级到1.0.1c或者1.0.1d呢?
腾迅要求除了dz论坛以外的其它软件都使用高版本的接口才可以接上,低版本的只能接dz论坛了。
作者: admin 时间: 2013-4-21 19:46
下载源码编译openssl
作者: 9zhmke 时间: 2013-4-21 21:51
下载源码编译openssl
admin 发表于 2013-4-21 19:46
安装的系统是wdos 64位 1.0 lanmp,下面这个脚本应该就是源码编译吧?但是运行出错,应该怎么改呢?
#!/bin/sh
# Author:wdlinux
# Url http://www.wdlinux.cn
set -v on
cd /tmp
#已手工解压tar zxvf openssl-1.0.1d.tar.gz
cd openssl-1.0.1d
./config --prefix=/usr/local/openssl
make
make install
./config --with-php-config=/www/wdlinux/php/bin/php-config
./configure --with-openssl-dir=/usr/local/openssl --with-openssl
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln –s /usr/local/openssl/bin/openssl /usr/bin/openssl
ln –s /usr/local/openssl/include/openssl /usr/include/openssl
echo “/usr/local/sslb” >> /etc/ld.so.conf
ldconfig –v
openssl version –a
echo "Open ssl install is OK"
作者: 9zhmke 时间: 2013-4-22 12:44
下载源码编译openssl
admin 发表于 2013-4-21 19:46
可不可以付费解决这个问题啊?
作者: admin 时间: 2013-4-22 20:42
可以
作者: wobushihuairen 时间: 2013-5-14 19:36
本帖最后由 wobushihuairen 于 2013-5-14 19:40 编辑
我的也不能登陆502 Bad Gateway
nginx/1.0.15,提示这个。
我用的是shopnc的源码,在后台设置那qq互联的那个验证代码根本就写不进去,复制粘贴保存后刷新一下又成空白了,保存不了。
怎么办啊?不知道还有没有其它错误
作者: wobushihuairen 时间: 2013-5-14 23:11
# sh lnmp_php_ssl_5217.sh
--2013-05-14 23:01:58-- http://www.openssl.org/source/openssl-1.0.1c.tar.gz
Resolving www.openssl.org... failed: Name or service not known.
wget: unable to resolve host address ?.ww.openssl.org?
tar (child): openssl-1.0.1c.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
lnmp_php_ssl_5217.sh: line 13: cd: openssl-1.0.1c: No such file or directory
lnmp_php_ssl_5217.sh: line 14: ./config: No such file or directory
make: *** No targets specified and no makefile found. Stop.
作者: wobushihuairen 时间: 2013-5-14 23:21
回复 1# admin
nginx/1.0.15 的怎么设置
作者: csuper 时间: 2013-7-21 10:43
收藏这个 等下修改我的看看
作者: xianghuan 时间: 2013-11-14 15:03
make[2]: *** [install] Error 1
make[2]: Leaving directory `/tmp/httpd-2.2.22/srclib/apr'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.2.22/srclib'
make: *** [install-recursive] Error 1
作者: xianghuan 时间: 2013-11-15 10:19
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/tmp/httpd-2.2.22'
Starting httpd: [ OK ]
httpd ssl install is OK
作者: 38hot 时间: 2013-11-24 14:17
记号,qq登陆出现502解决办法。
作者: 么么茶 时间: 2013-11-29 16:11
按照楼主提示 两样都安装成功。。。也没有任何错误提示。但是依旧提示502 Bad Gateway
nginx/1.0.15 请问如何解决?
作者: 么么茶 时间: 2013-12-10 22:47
[root@IDC ~]# collect2: ld returned 1 exit status
-bash: collect2:: command not found
[root@IDC ~]# make[2]: *** [htpasswd] Error 1
-bash: make[2]:: command not found
[root@IDC ~]# make[2]: Leaving directory `/tmp/httpd-2.2.22/support'
> make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.2.22/support'
make: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/httpd-2.2.22/support'
> make: *** [all-recursive] Error 1
作者: tlx686 时间: 2013-12-11 13:46
学习了,谢谢分享
作者: qq3214250 时间: 2013-12-13 16:59
以上是针对httpd-2.2.22版本的,如果不是这个版本的,可以改成相应的版本号就可以
我的版本号是2.2.24 怎么改版本号啊 求
作者: jjma 时间: 2013-12-14 09:56
终于找到要看的东西了,。这个必须加入问题集
作者: ye1028 时间: 2013-12-17 15:25
You may want to add: /www/wdlinux/nginx_php-5.2.17/lib/php to your php.ini include_path
Installing PDO headers: /www/wdlinux/nginx_php-5.2.17/include/php/ext/pdo/
Shutting down php_fpm . done
Starting php_fpm done
php reinstall is OK
安装完后,QQ登录 还是提示 502,环境是 lnmp
作者: ye1028 时间: 2013-12-17 17:11
以上是针对httpd-2.2.22版本的,如果不是这个版本的,可以改成相应的版本号就可以
我的版本号是2.2.24 怎么改版本号啊 确实同求解释 老大
作者: ye1028 时间: 2013-12-17 18:46
回复 1# admin
httpd 2.2.2.4 怎么解决这个问题呢?大哥
作者: admin 时间: 2013-12-17 18:57
一样的,在脚本里修改成2.2.24版本即可
作者: ye1028 时间: 2013-12-21 17:41
回复 73# admin
一样的,在脚本里修改成2.2.24版本即可
没明白,麻烦大哥贴 运行语句, 祝老大身体健康,天天身边美女如云,钞票数得手抽筋。。。您发了再给我们这些苦B 发福利,呵呵
作者: ye1028 时间: 2013-12-21 17:43
回复 73# admin
是ngnix 环境
作者: ye1028 时间: 2013-12-21 19:30
如果是lnmp版的环境,则使用下面这个试试(针对默认的php-5.2.17版本)
wget http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh
sh lnmp_php_ssl_5217.sh
我用的lnmp环境,安装后,QQ登录还是502
作者: ye1028 时间: 2013-12-21 23:14
安装过程
Build complete.
Don't forget to run 'make test'.
Installing PHP SAPI module: cgi
Installing PHP CGI binary: /www/wdlinux/nginx_php-5.2.17/bin/
Installing FPM config: /www/wdlinux/etc/php-fpm.conf
(installing as php-fpm.conf.default)
Installing init.d script: /www/wdlinux/nginx_php-5.2.17/sbin/php-fpm
Installing PHP CLI binary: /www/wdlinux/nginx_php-5.2.17/bin/
Installing PHP CLI man page: /www/wdlinux/nginx_php-5.2.17/man/man1/
Installing build environment: /www/wdlinux/nginx_php-5.2.17/lib/php/build/
Installing header files: /www/wdlinux/nginx_php-5.2.17/include/php/
Installing helper programs: /www/wdlinux/nginx_php-5.2.17/bin/
program: phpize
program: php-config
Installing man pages: /www/wdlinux/nginx_php-5.2.17/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /www/wdlinux/nginx_php-5.2.17/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.7
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] Structures_Graph- already installed: 1.0.3
[PEAR] XML_Util - already installed: 1.2.1
[PEAR] PEAR - already installed: 1.9.1
Wrote PEAR system config file at: /www/wdlinux/nginx_php-5.2.17/etc/pear.conf
You may want to add: /www/wdlinux/nginx_php-5.2.17/lib/php to your php.ini include_path
Installing PDO headers: /www/wdlinux/nginx_php-5.2.17/include/php/ext/pdo/
Shutting down php_fpm . done
Starting php_fpm done
php reinstall is OK
作者: qwer46060 时间: 2014-1-13 17:30
老大啊 终于找到这个问题了 我找了好几天了啊
先占位置
作者: qwer46060 时间: 2014-1-13 17:31
make[2]: Leaving directory `/tmp/httpd-2.2.22/modules/mappers'
make[2]: Entering directory `/tmp/httpd-2.2.22/modules'
make[2]: Leaving directory `/tmp/httpd-2.2.22/modules'
make[1]: Leaving directory `/tmp/httpd-2.2.22/modules'
Making install in support
make[1]: Entering directory `/tmp/httpd-2.2.22/support'
make[2]: Entering directory `/tmp/httpd-2.2.22/support'
make[2]: Leaving directory `/tmp/httpd-2.2.22/support'
make[1]: Leaving directory `/tmp/httpd-2.2.22/support'
make[1]: Entering directory `/tmp/httpd-2.2.22'
Installing configuration files
[PRESERVING EXISTING HTDOCS SUBDIR: /www/wdlinux/httpd-2.2.22/htdocs]
[PRESERVING EXISTING ERROR SUBDIR: /www/wdlinux/httpd-2.2.22/error]
[PRESERVING EXISTING ICONS SUBDIR: /www/wdlinux/httpd-2.2.22/icons]
[PRESERVING EXISTING CGI SUBDIR: /www/wdlinux/httpd-2.2.22/cgi-bin]
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/tmp/httpd-2.2.22'
Starting httpd: [ OK ]
httpd ssl install is OK
已经安装 但是不知道可以不?
作者: qwer46060 时间: 2014-1-13 18:47
回复 1# admin
老大 我安装好了
但是怎么无法联机数据库啊
我哭了 ······················
图片附件: QQ截图20140113183947.jpg (2014-1-13 18:47, 154.19 KB) / 下载次数 10006
http://wdlinux.cn/bbs/attachment.php?aid=4142&k=c5af41559bcb408c210854ec75140d3c&t=1732515426&sid=33SSAh
图片附件: QQ截图20140113184020.jpg (2014-1-13 18:47, 95.11 KB) / 下载次数 9836
http://wdlinux.cn/bbs/attachment.php?aid=4143&k=7781b14c94e4c31a986f9806192e0bc7&t=1732515426&sid=33SSAh
作者: admin 时间: 2014-1-14 09:47
数据库没启动?
作者: andyjin 时间: 2014-1-28 01:06
回复 77# ye1028
我也遇到这问题,一摸一样,你解决了么?
作者: freeliving 时间: 2014-2-8 10:39
回复 73# admin
你好,脚本里修改成2.2.24 具体是怎么操作,我们这种小白确实头痛。安装的2.2.22 没有解决问题。安装后登录QQ互联提示网络连接失败。
作者: zyf8985957 时间: 2014-2-27 15:51
回复 1# admin
APACHE 已经支持SSL了为什么还是QQ登陆502啊
图片附件: QQ截图20140227154058.png (2014-2-27 15:50, 8.79 KB) / 下载次数 9643
http://wdlinux.cn/bbs/attachment.php?aid=4232&k=72dc96e1cc76923affce007a9fe29675&t=1732515426&sid=33SSAh
作者: webiste888 时间: 2014-3-7 15:20
现在也遇到这样的问题了,不知道怎么解决啊
作者: ahjar 时间: 2014-3-14 14:08
求助:
安装httpd,改成2.2.24版本,make install 过程中提示报错
错误信息如下- libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /www/wdlinux/wdapache/lib
- make[2]: *** [install] 错误 1
- make[2]: Leaving directory `/root/download/lanmp/httpd-2.2.24/srclib/apr-util'
- make[1]: *** [install-recursive] 错误 1
- make[1]: Leaving directory `/root/download/lanmp/httpd-2.2.24/srclib'
- make: *** [install-recursive] 错误 1
复制代码
作者: johnsme 时间: 2014-3-21 21:52
老大,我这里是这种错误啊 折腾了几天了。还是出现这个错误。
httpd-2.2.22/httpd.spec
httpd-2.2.22/configure
httpd-2.2.22/libhttpd.dep
httpd-2.2.22/configure.in
httpd-2.2.22/VERSIONING
httpd-2.2.22/README
httpd-2.2.22/LAYOUT
httpd-2.2.22/buildconf
httpd-2.2.22/.gdbinit
http2222_ssl.sh: line 24: ./configure: Permission denied
24行:./configure --prefix=$IN_DIR/httpd-2.2.22 --enable-rewrite --enable-deflate --disable-userdir --enable-so --enable-expires --enable-headers --with-included-apr --with-apr=/usr --with-apr-util=/usr --enable-ssl --with-ssl=/usr
应该如何操作啊 !!!!!
小弟在此谢过了
作者: johnsme 时间: 2014-3-21 22:03
我是root用户登录的。
应该对那些文件/或者文件夹操作 ???
作者: zyf8985957 时间: 2014-3-27 02:33
我解决了问题,重新编译curl和php就好了
作者: cfan365 时间: 2014-4-12 15:52
回复 89# zyf8985957
怎么重新编译呢
作者: zhweta 时间: 2014-4-14 11:37
我的apache版本是2.2.24,该怎么办?
作者: hairy 时间: 2014-4-15 17:08
我的解决了,呵呵
作者: cgw1688 时间: 2014-4-15 18:22
回复 13# dake123
具体如何做的?不太会linux
作者: qlmgg 时间: 2014-4-23 14:59
报了一个错误,什么原因
图片附件: QQ截图20140423144539.png (2014-4-23 14:58, 12.49 KB) / 下载次数 10461
http://wdlinux.cn/bbs/attachment.php?aid=4432&k=894e12063d9f9c58d1e9e365831ad4cb&t=1732515426&sid=33SSAh
作者: coldxin 时间: 2014-4-24 17:17
这问题很郁闷,还没解决,痛苦哦~~~
作者: yunkaiai 时间: 2014-5-18 16:10
[root@localhost ~]# sh http2222_ssl.sh
--2014-05-18 15:54:06-- http://dl.wdlinux.cn:5180/soft/httpd-2.2.22.tar.gz
Resolving dl.wdlinux.cn... 222.186.43.27
Connecting to dl.wdlinux.cn|222.186.43.27|:5180... connected.
HTTP request sent, awaiting response...
作者: yunkaiai 时间: 2014-5-18 16:11
下载后,安装,出了以上问题。
作者: yudianguo 时间: 2014-5-28 21:58
我的是lamp环境的额 你们上边俩个都执行了么 我就执行了头一个不好用 是两个都得执行以下么 谢了
作者: wangpingtt 时间: 2014-6-30 22:10
本帖最后由 wangpingtt 于 2014-6-30 22:17 编辑
回复 73# admin
老大, 你说httpd 2.2.2.4 只需要修改脚本为对应的版本,
请问下面的修改对吗 ?(2222改为2224)- wget http://down.wdlinux.cn/in/http2224_ssl.sh
复制代码 我在执行上面这句的时候时候出错. 显示: [ ERROR 403:Forbidden ]
如果我修改得不正确, 麻烦告诉下下面这两句脚本需要如何修改, 谢谢!- wget http://down.wdlinux.cn/in/http2222_ssl.sh
- sh http2222_ssl.sh
复制代码
作者: chxmoon 时间: 2014-8-18 13:28
回复 13# dake123
你好,请问具体怎么编译的吗?
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) |
Powered by Discuz! 7.2 |