阿里云最新優(yōu)惠:虛擬主機(jī)或者服務(wù)器不支持https訪問(wèn)php怎么辦?
服務(wù)器不支持https訪問(wèn)php的解決辦法:首先編輯語(yǔ)句【/apache2/conf/extra/httpd-ssl.conf】;然后在程序中添加相應(yīng)代碼;最后保存,并重啟Apache即可。
服務(wù)器不支持https訪問(wèn)php的解決辦法:
1、編輯/apache2/conf/extra/httpd-ssl.conf
2、在標(biāo)簽下增加以下兩條:
ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:10000/你的服務(wù)器默認(rèn)目錄/$1
DirectoryIndex index.html index.php
3、保存,重啟Apache(service httpd restart)
