Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2860853
  • 博文数量: 178
  • 博客积分: 2076
  • 博客等级: 大尉
  • 技术积分: 2800
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-10 10:50
文章分类

全部博文(178)

文章存档

2010年(4)

2009年(13)

2008年(161)

我的朋友

分类: LINUX

2008-10-10 17:22:13

PHP报错
  需要APACHE OPENSSL
    ./configure --prefix=/usr/local/php -with-apxs2=/usr/local/apache/bin/apxs      --with-libxml-dir=/usr/local/libxml2 --with-openssl
fsockopen() [function.fsockopen]: no SSL support i
n this build in /opt/email/mail.com.cn/servmon/msnpauth.php on line 67


Warning:  fsockopen() [function.fsockopen]: unable to connec
t to login.passport.com:443 in /opt/email/mail。com.cn/servmon/msnpauth.php on line 67b>



Warning:  fputs(): supplied argument is not a valid stream resource in /opt/email/mail.
com.cn/servmon/msnpauth.php
on line 79



Warning:  fputs(): supplied argument is not a valid stream resource in /opt/email/mail
com.cn/servmon/msnpauth.php
on line 79



Warning:  fputs(): supplied argument is not a valid stream resource in /opt/email/mail.com.cn/servmon/msnpauth.php on line 79



Warning:  fputs(): supplied argument is not a valid stream resource in /opt/email/mail.
com.cn/servmon/msnpauth.php
on line 79



Warning:  fputs(): supplied argument is not a valid stream resource in /opt/email/mail
com.cn/servmon/msnpauth.php
on line 82



Warning:  feof(): supplied argument is not a valid stream resource in /opt/email/mail
om.cn/servmon/msnpauth.php
on line 91



Warning:  feof(): supplied argument is not a valid stream resource in /opt/email/mail.c
om.cn/servmon/msnpauth.php
on line 91



Warning:  feof(): supplied argument is not a valid stream resource in /opt/email/mail.c
om.cn/servmon/msnpauth.php
on line 91

Warning:  feof(): supplied argument is not a valid stream resource in /opt/email/mail.c
om.cn/servmon/msnpauth.php
on line 91



Warning:  feof(): supplied argument is not a valid stream resource in /opt/email/mail..c
--More--(1%)
php - configure: error: Can't find OpenSSL's evp.h

/configure --prefix=/usr/local/php   --with-openssl=/usr/bin --with-curl=/usr/bin
PHP:
--prefix=/usr/local/php -with-apxs2=/usr/local/apache/bin/apxs      --with-mysql=/usr/local/mysql/      --with-libxml-dir=/usr/local/libxml2 --with-openssl

编译时总是出错
原因如下:
1 确认安装了openssl openssl-devl
2修改路径为 /usr/sbin 或者 /usr/include/openssl
3 去掉路径 直接 --with-openssl
NR :http://blog.s135.com/read.php/291.htm
阅读(658) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~