作者donkeychen (donkey = =)
看板FreeBSD
标题[问题] 关於php在httpd里面的设定问题
时间Thu May 10 12:22:57 2007
有一段是
<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)