php扩展启动opensl
配置apache的vhosts.conf:
<VirtualHost ip:80>
DocumentRoot "D:\phpStudy\PHPTutorial\WWW\xxx"
ServerName 域名
</VirtualHost>
Listen 443
<VirtualHost ip:443>
DocumentRoot "D:\phpStudy\PHPTutorial\WWW\xxx"
ServerName 域名
ServerAlias 域名
<Directory "D:\phpStudy\PHPTutorial\WWW\xxx">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile "D:\phpStudy\PHPTutorial\Apache\conf\ssl\xxx_public.crt"
SSLCertificateKeyFile "D:\phpStudy\PHPTutorial\Apache\conf\ssl\xxx.key"
SSLCertificateChainFile "D:\phpStudy\PHPTutorial\Apache\conf\ssl\xxx_chain.crt"
</VirtualHost>
评论