看板 FreeBSD 關於我們 聯絡資訊
這方面是一定要使用 apache 2 安裝嗎? 能用 apache 安裝吧 我想問的還有 apache 2 /etc/apache2/mods-available/rewrite.load 這在 apache 裡面是對應哪個路徑 以及 Edit /etc/apache2/sites-enabled/000-default 是 所謂的 httpd.conf?? ----------------------------------------------------------------- If Apache 2, PHP and MySQL aren't installed then use apt-get to install them: apt-get install apache2 mysql-server php4-mysql php4 The mod_rewrite module isn't installed by default so: cp /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ (On a non-Debian machine look for a line in httpd.conf that starts with LoadModule rewrite_module and uncomment it.) Edit /etc/apache2/sites-enabled/000-default and look for the section that starts with <Directory /var/www/> Inside there edit the line AllowOverride None and change to AllowOverride FileInfo Enable mysql in php.ini by editing /etc/php4/apache2/php.ini and uncommenting the following line: extension=mysql.so Now restart Apache 2: /etc/init.d/apache2 restart It's very important to login to the wp-admin backend at the end as a few more tables will be created. You're encouraged to fix the file and directory permissions but that's optional if you remove the warnings from index.php Well Done! WPMU is installed! -- 討論是你我教學相長的機會 UO-小築 http://uniorg.net/ 讓我們一同喜愛這討論空間 喜歡他的話 別忘了推薦給大家... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.65.18