Warning: stream_socket_enable_crypto() [streams.crypto]: this stream does not support SSL/crypto in
you don't have openssl enabled or compiled into PHP.
mod_ssl is for Apache, not PHP5. You need to compile it in, or enable it in your php.ini
Warning: fclose(): supplied argument is not a valid stream resource in D:/php/xmpphp/XMPPHP/XMLStream.php on line 403
Fatal error: Call to undefined function curl_init() in D:/php/xmpphp/XMPPHP/BOSH.php on line 88
updat php.ini file:
extension=php_curl.dll
开饭curl扩展
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in D:/php/xmpphp/XMPPHP/BOSH.php:75 Stack trace: #0 D:/php/xmpphp/XMPPHP/BOSH.php(75): SimpleXMLElement->__construct('') #1 D:/php/xmpphp/cli_longrun_example_bosh.php(14): XMPPHP_BOSH->connect('http://server.t...') #2 {main} thrown in D:/php/xmpphp/XMPPHP/BOSH.php on line 75
解决PHP SSL与curl扩展问题
本文记录了解决PHP中stream_socket_enable_crypto错误提示的方法,包括启用OpenSSL及curl扩展的具体步骤。同时,还介绍了如何处理SimpleXMLElement无法解析空字符串为XML的问题。
1411

被折叠的 条评论
为什么被折叠?



