在http.conf中加入php的設定 #php5_start phpIniDir "d:/Program Files/php" LoadModule php5_module "d:/Program. 再新增 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 問題解決