(转)windows下打开php的ssl

2011-7-11 杜世伟 Php

windows下打开php的ssl
为了给paypal发送信息,必须解决Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://****************** (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)问题

1    首先在php.ini文件中加上一行extension=php_openssl.dll,前面不要分号。如果是easyphp,php.ini文件在EasyPHP 3.0\conf_files中。

2    将libeay32.dll、ssleay32.dll文件复制到window/system32文件夹中。这两个文件在\EasyPHP 3.0\php文件夹中

做个备份,以后写报告的时候省的忘了

标签: fsockopen()

Powered by emlog 沪ICP备2023034538号-1