看板 PHP 關於我們 聯絡資訊
※ 引述《hl6099 ()》之銘言: : ※ 引述《hl6099 ()》之銘言: : : 我在安裝快結束的過程中 : : 出現一個文字介面視窗 : : 上面顯示下列訊息: : : Syntax error on line 360 of c:/program files/apache group/apache/conf/httpd. : : UserDir must specify an absolute redirect or absolute file path : : Note the errors or messages above, and press the <ESC> key to exit. 7.... : : 可否請教一下為什麼會出現錯誤呢? : : 該怎麼做才能解決它 : <IfModule mod_userdir.c> : UserDir public_html : </IfModule> : 有標明顏色的是第360行 : 可是這一行我是照書上改的阿 : 為什麼會有ERROR呢? Apache我安裝完了 裝PHP時在改.conf設定檔時書上有寫要加入底下項目: LoadModule php5_module "C:\php\sapi\php4apache.dll" AddModule mod_php5.c AddType application/x-httpd-php .php 但是加入之後再啟動APACHE時卻出現錯誤訊息: Syntax error on line 1023 of c:/program files/apache group/apache/conf/httpd.con f: Cannot load c:/php/sapi/php4apache.dll into server: (126) 找不到指定的模組。: 不知道是不是書上有誤還是我的設定出問題 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.22.18.105