无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] 2.4快速安装有问题,在php中,抓取https的网站,会出现错误:

在php中,抓取https的网站,会出现错误:
Warning: file_get_contents(https://localhost/myphp/a.asp) [function.file-get-contents]: failed to open stream: Invalid argument in I:\Web\myphp\a.php on line 16


求解决办法
不帅你找我

看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

还是不行老大?
不帅你找我

TOP

lnmpa 测试64位不过。

TOP

http://www.wdlinux.cn/bbs/thread-3657-1-1.html
执行了lnmp_php_ssl_5217.sh脚本,没有完成。

在进行PHP编译的过程中,出现了这个问题:
Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.19.7
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.


手工yum安装libjpeg
Setting up Install Process
Package libjpeg-turbo-1.2.1-3.el6_5.x86_64 already installed and latest version
Nothing to do


环境:
lnamp 当前版本: wdcp_v2.5.9(20131108)
Linux CentOS 6.4 64bit

看看哪位老大支持一下,不胜感激!!

TOP

1. cp  -frp /usr/lib64/libjpeg.* /usr/lib/   #configure:error:libjpeg.(a|so) not found 报错搞定
2. 注意过程中还会提示" Configure: error: libpng.(also) not found."错误,解决办法和上面的一样.
    cp -frp /usr/lib64/libpng* /usr/lib/


编译通过,PHP reinstall ok,不过curl 还是没有成功支持 https,不知道为什么。
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/
php-fpm: unrecognized service

php reinstall is OK

TOP

返回列表