
標題: [教程] 對于lanmp/wdcp不支持微博/QQ登錄(https)的問題的解決辦法 [打印本頁]
作者: admin 時間: 2012-9-27 22:56 標題: 對于lanmp/wdcp不支持微博/QQ登錄(https)的問題的解決辦法
原因是,apache里沒有對SSL的支持,只要重新編譯下apache就可以(lamp/lnamp版環(huán)境)
如下執(zhí)行可以完成(針對httpd-2.2.22版本)
wget http://down.wdlinux.cn/in/http2222_ssl.sh
sh http2222_ssl.sh
沒有出錯安裝完成就可以了
如果是lnmp版的環(huán)境,則使用下面這個試試(針對默認的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 現(xiàn)在解決之后 內存不到200 真是太好了
作者: 寇寇小盆友 時間: 2012-9-28 15:01
老大,像我這種情況能通過你說的方法解決嗎?我覺得有點類似!
http://cd-genova.com/bbs/viewthread.php?tid=3664&extra=
還有,怎么看httpd的版本號?我用httpd -V 沒反應啊~我的系統(tǒng)是centos 5
作者: 寇寇小盆友 時間: 2012-9-28 15:09
在線等老大的回復,我經(jīng)不起折騰了,等確認了再去安裝。折騰了好幾宿了,現(xiàn)在還昏昏沉沉的。
作者: 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 發(fā)表于 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, 都出現(xiàn)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就可以
如下執(zhí)行可以完成
wget
sh http2222_ssl. ...
admin 發(fā)表于 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 發(fā)表于 2012-12-17 10:14 
解決辦法:1.如果提示"configure: error: libjpeg.(a|so) not found"錯誤
所以這里我們需要復制一份libjpeg.so到/usr/lib/目錄里才可以.再次執(zhí)行./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的環(huán)境,安裝使用下面這個試試(針對默認的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
下載 (14.92 KB)
2012-12-29 14:15
按照樓上說的那樣,但是報錯了,沒有安裝成功,高手給指點下
圖片附件: QQ截圖20121229141249.png (2012-12-29 14:15, 14.92 KB) / 下載次數(shù) 16066
http://cd-genova.com/bbs/attachment.php?aid=2279&k=6f2f61ce1e5dac2a341890a789cf7695&t=1743757965&sid=fZBQA5

作者: 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/目錄里才可以.再次執(zhí)行./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
出現(xiàn)這樣的要怎么解決?
作者: happyboy 時間: 2013-3-25 13:17
好東西留名學習
作者: 9zhmke 時間: 2013-4-13 15:50
標記一下,受這個困擾很久了
作者: 9zhmke 時間: 2013-4-13 18:36
QQ互聯(lián)接不上,總是502錯,偉大的管理員可不可以寫一個升級openssl的sh給大家啊,我寫了可以運行不正確,是哪里錯了?:
#!/bin/sh
# mysql innodb install scripts
# Author:wdlinux
# Url http://cd-genova.com
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 發(fā)表于 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 發(fā)表于 2013-4-16 09:02 
首先感謝管理的關注。我安裝的是shopnc的商城程序,使用QQ登陸時出現(xiàn)502錯誤,本貼的前面有用戶說換成高版本的1.0.1c可以解決這個問題。但不會安裝,按網(wǎng)上查來的資料總出錯,按我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://cd-genova.com
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登陸時出現(xiàn)502錯誤,本貼的前面有用戶說換成高版本的1.0.1c可以 ...
9zhmke 發(fā)表于 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 發(fā)表于 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登陸時出現(xiàn)502錯誤,本貼的前面有用戶說換成高版本的1.0.1c可以解決這個問題。但不會安裝,按網(wǎng)上查來的資料總出錯,按我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 發(fā)表于 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 發(fā)表于 2013-4-21 19:46 
安裝的系統(tǒng)是wdos 64位 1.0 lanmp,下面這個腳本應該就是源碼編譯吧?但是運行出錯,應該怎么改呢?
#!/bin/sh
# Author:wdlinux
# Url http://cd-genova.com
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 發(fā)表于 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互聯(lián)的那個驗證代碼根本就寫不進去,復制粘貼保存后刷新一下又成空白了,保存不了。
怎么辦?不知道還有沒有其它錯誤
作者: 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登陸出現(xiàn)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,環(huán)境是 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版本即可
沒明白,麻煩大哥貼 運行語句,
祝老大身體健康,天天身邊美女如云,鈔票數(shù)得手抽筋。。。您發(fā)了再給我們這些苦B 發(fā)福利,呵呵
作者: ye1028 時間: 2013-12-21 17:43
回復 73# admin
是ngnix 環(huán)境 
作者: ye1028 時間: 2013-12-21 19:30
如果是lnmp版的環(huán)境,則使用下面這個試試(針對默認的php-5.2.17版本)
wget http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh
sh lnmp_php_ssl_5217.sh
我用的lnmp環(huán)境,安裝后,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
已經(jīng)安裝 但是不知道可以不?
作者: qwer46060 時間: 2014-1-13 18:47
回復 1# admin
老大 我安裝好了
下載 (154.19 KB)
2014-1-13 18:47
但是怎么無法聯(lián)機數(shù)據(jù)庫啊
下載 (95.11 KB)
2014-1-13 18:47
我哭了 ······················
圖片附件: QQ截圖20140113183947.jpg (2014-1-13 18:47, 154.19 KB) / 下載次數(shù) 11047
http://cd-genova.com/bbs/attachment.php?aid=4142&k=a8aeeae446bf1fb6514f55434e563259&t=1743757965&sid=fZBQA5

圖片附件: QQ截圖20140113184020.jpg (2014-1-13 18:47, 95.11 KB) / 下載次數(shù) 10872
http://cd-genova.com/bbs/attachment.php?aid=4143&k=e319987f372e13c83fbeaf595542e0a8&t=1743757965&sid=fZBQA5

作者: admin 時間: 2014-1-14 09:47
數(shù)據(jù)庫沒啟動?
作者: andyjin 時間: 2014-1-28 01:06
回復 77# ye1028
我也遇到這問題,一摸一樣,你解決了么?
作者: freeliving 時間: 2014-2-8 10:39
回復 73# admin
你好,腳本里修改成2.2.24 具體是怎么操作,我們這種小白確實頭痛。安裝的2.2.22 沒有解決問題。安裝后登錄QQ互聯(lián)提示網(wǎng)絡連接失敗。
作者: zyf8985957 時間: 2014-2-27 15:51
下載 (8.79 KB)
2014-2-27 15:50
回復 1# admin
APACHE 已經(jīng)支持SSL了為什么還是QQ登陸502啊
圖片附件: QQ截圖20140227154058.png (2014-2-27 15:50, 8.79 KB) / 下載次數(shù) 10634
http://cd-genova.com/bbs/attachment.php?aid=4232&k=7a4a3075b3bcc8eafe12df6c2d5713ac&t=1743757965&sid=fZBQA5

作者: webiste888 時間: 2014-3-7 15:20
現(xiàn)在也遇到這樣的問題了,不知道怎么解決啊
作者: 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
老大,我這里是這種錯誤啊 折騰了幾天了。還是出現(xiàn)這個錯誤。
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
下載 (12.49 KB)
2014-4-23 14:58
報了一個錯誤,什么原因
圖片附件: QQ截圖20140423144539.png (2014-4-23 14:58, 12.49 KB) / 下載次數(shù) 11690
http://cd-genova.com/bbs/attachment.php?aid=4432&k=d77a80dac632e8da62a57ac7b89c77a4&t=1743757965&sid=fZBQA5

作者: 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環(huán)境的額 你們上邊倆個都執(zhí)行了么 我就執(zhí)行了頭一個不好用 是兩個都得執(zhí)行以下么 謝了
作者: 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
復制代碼 我在執(zhí)行上面這句的時候時候出錯. 顯示: [ 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://cd-genova.com/bbs/) |
Powered by Discuz! 7.2 |