; Useful for internal debugging only.
;opcache.protect_memory=0
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
[openssl]
; The location of a Certificate Authority (CA) file on the local filesystem
; to use when verifying the identity of SSL/TLS peers. Most users should
; not specify a value for this directive as PHP will attempt to use the
; OS-managed cert stores in its absence. If specified, this value may still
; be overridden on a per-stream basis via the "cafile" SSL stream context
; option.
;openssl.cafile=
; If openssl.cafile is not specified or if the CA file is not found, the
; directory pointed to by openssl.capath is searched for a suitable
; certificate. This value must be a correctly hashed certificate directory.
; Most users should not specify a value for this directive as PHP will
; attempt to use the OS-managed cert stores in its absence. If specified,
; this value may still be overridden on a per-stream basis via the "capath"
; SSL stream context option.
;openssl.capath=
; Local Variables:
; tab-width: 4
; End:
替換之後,我們把phpcms的文件也解壓出來,把其中的install_package文件夾重命名為phpcms,放到”
C:\inetpub\wwwroot“下在iis中添加一個網站
切換到內容視圖
在install下的install.php右鍵在瀏覽器中查看
選擇全興安裝phpcms v9
這裡的文件當前狀態為不可寫,現在去修改一下文件權限
找到解壓出來的phpcms文件夾,右鍵屬性
找到Everyone後將Everyone的權限設為完全控制
在回到瀏覽器重新檢測一遍就沒有問題了
注意配置自己的數據庫地址、賬號、密碼以及phpcms的管理員賬號和密碼
至此,phpcms在IIS上的配置就完成了。
之後有機會我會在發與phpcms相關的一些文章,畢竟對於內容門戶網站而言,使用phpcms的開發效率是極高的。
最後感謝每一個看到最後的看官,謝謝
閱讀更多 騎著豬豬的CodeMonkey 的文章