1、apache 的httpd.conf
a.PHPIniDir "C:\Windows" (php.init文件在c:\windows目录下,php安装目录下一共有两个类似php.ini-xxxxxxxx,文件名改为php.init复制到c:\windows 通过phpinfo 查找php.init的路径);
b. 去掉注释这两行前
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
2、系统环境变量:path路径,将php、 php\ext添加上
3、php.init修改
a.extension=php_openssl.dll去掉注释
b.extension_dir = "C:/AppServ\php6\ext"