我知道這是老問題,前面也有很多討論,都是相同的設定
但很奇怪,我今天重灌debian,裝到apache2都沒問題
就是php4怎裝都無法在apache2裡執行.php檔,都要我開啟、儲存或取消
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
上面這幾行都在/etc/apache2/apache2.conf設定了且是default值
請問有沒有人知道,我哪兒疏忽沒設定到呢?
謝謝
