https://discuz.dismall.com/viewthread.php?tid=720923&highlight=gd
已 Curl 為例 , 本人 Server 已有舊版本 libcurl/7.13.1
而 Configure Command 顯示 '--with-curl' 沒有升級到 7.16.2
curl安装
cd /usr/local/src //进入软件存放目录
tar -zxvf curl-7.16.2.tar.gz
./configure --prefix=/usr/local/curl
make
make install
行了
./configure --prefix=/usr/local/curl
curl version: 7.16.2
Host setup: i686-pc-linux-gnu
Install prefix: /usr/local/curl
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
c-ares support: no (--enable-ares)
ipv6 support: enabled
IDN support: enabled
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert path: ${prefix}/share/curl/curl-ca-bundle.crt
行了 make 到之後
make[2]: Leaving directory `/usr/local/src/curl-7.16.2/src'
make[1]: Leaving directory `/usr/local/src/curl-7.16.2/src'
make[1]: Entering directory `/usr/local/src/curl-7.16.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/local/src/curl-7.16.2'
[root@hkwei curl-7.16.2]#
再 make install 之後
make[6]: Leaving directory `/usr/local/src/curl-7.16.2/docs/libcurl'
make[5]: Leaving directory `/usr/local/src/curl-7.16.2/docs/libcurl'
make[5]: Entering directory `/usr/local/src/curl-7.16.2/docs'
make[6]: Entering directory `/usr/local/src/curl-7.16.2/docs'
make[6]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/curl/share/man/man1" || /bin/mkdir -p "/usr/local/curl/share/man/man1"
/usr/bin/install -c -m 644 './curl.1' '/usr/local/curl/share/man/man1/curl.1'
/usr/bin/install -c -m 644 './curl-config.1' '/usr/local/curl/share/man/man1/curl-config.1'
make[6]: Leaving directory `/usr/local/src/curl-7.16.2/docs'
make[5]: Leaving directory `/usr/local/src/curl-7.16.2/docs'
make[4]: Leaving directory `/usr/local/src/curl-7.16.2/docs'
make[3]: Leaving directory `/usr/local/src/curl-7.16.2'
make[2]: Leaving directory `/usr/local/src/curl-7.16.2'
make[1]: Leaving directory `/usr/local/src/curl-7.16.2'
[root@hkwei curl-7.16.2]#
reboot Server 入 info 看
CURL support enabled ..... Version 沒有升級
其實本身我只想安裝 GD ....
A.curl , B.expat , C.gzip , D.libxml2 , E.zlib , F.jpeg6 , G.libpng , H.freetype , I.GD库
全部都跟步驟安裝,不過在 phpinfo 中都沒有顯示 .... 好像沒有安裝一樣
是否我做小步驟 ? 希望大大指出問題 ... 因為小弟找不到管理人員去安裝
只好只行硬頭皮去安裝 |