[問題] 關於php在httpd裡面的設定問題
有一段是
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.htm index.html index.php index.php3 index.pht
ml
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.htm index.html index.php3
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.htm index.html index.php
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.htm index.html
</IfModule>
</IfModule>
</IfModule>
類似這樣的區段
我看他的意思是 如果有php3 又有php4 => section 1
php3 但無php4 => section 2
無php3 但有php4 => section 3
無php3 且無php4 => section 4
所以 分成 php3(Y/N) 跟php4(Y/N) 所以有四個IfModule
那如果裝了php5啟不是要改成2*2*2=8種嗎
這樣會不會有點多呀@@?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.129.42.149
※ 編輯: donkeychen 來自: 220.129.42.149 (05/10 12:23)
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章