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
67
b>
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) |