(转)windows下打开php的ssl
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文件夹中
做个备份,以后写报告的时候省的忘了
为了给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()
热门日志
分类
- Django(4)
- ssdb(1)
- Mac(7)
- C(1)
- memcache(1)
- Python(32)
- Vim(8)
- sed(2)
- ansible(3)
- awk(4)
- shell(3)
- about(1)
- git(9)
- bat(4)
- svn(0)
- docker(1)
- Tornado(1)
- go(2)
- 架构(18)
- Vue(1)
- game(2)
- Html(6)
- Java(8)
- Mysql(37)
- Ajax(2)
- Jsp(1)
- Struts(8)
- Linux(72)
- JavaScript(39)
- Staruml(0)
- Mouth(1)
- Php(102)
- Windows(8)
- Message(48)
- Lua(10)
- Compute(1)
- Redis(7)
- Nginx(12)
- Jquery(1)
- Apache(1)
- cocos2d-x(8)