不知道各位有沒有使用過 suPHP
在下先把安裝過程提出來給大家看看
01.首先使用 synaptic 安裝 LAMP SERVER
02.> sudo apt-get install libapache2-mod-suphp
03.恩很好安裝完了
04.sudo a2enmod userdir
05.sudo /etc/init.d/apache2 restart
07.sudo vi /etc/apache2/mod-available/userdir.conf
08.加入下列
09.========================================
10.<Directory /home/*/public_html>
11..........................
12.suPHP_Engine on
13.suPHP_UserGroup xxx xxx
14..........................
15.</Directory>
16.========================================
17.sudo /etc/init.d/apache2 restart
18.出現錯誤如下
19.========================================
20. * We failed to correctly shutdown apache, so we're now killing all running apache processes.
21.This is almost certainly suboptimal, so please make sure your system is
22.working as you'd expect now!
23. ... waiting Syntax error on line 17 of
24./etc/apache2/mods-enabled/userdir.conf:
25.Invalid command 'suPHP_UserGroup', perhaps misspelled or defined
26.by a module not included in the server configuration
27.========================================= [fail]
大概就是這樣囉> <
有人有解嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.127.110.132