phpbb的問題...



贊助商連結


頁 : [1] 2

willyyen
2004-04-20, 01:03 AM
各位大大
The config file is writeable by the webserver. This is a major security risk because anyone can change your server settings now by using the install script.

phpBB will not be able to run until this is fixed. On unix systems this can be done with the following command:


chmod 644 config.php
Or use your FTP program to do this.
Switch on the 'read-only' attribute if you are running the script on a Windows machine.



這個小弟要怎麼解決呢??

贊助商連結


ahome
2004-04-20, 02:04 AM
chmod 644 config.php 要不要改成777試試

linux_xp
2004-04-20, 06:33 AM
出現這道訊息的時候,它應該會問你要不要下載config.php回來
選下載回來
然後用FTP上傳過去,就OK了

如果web sever就在本機電腦裡面,直接複製過去就好了

jackyilk
2004-04-21, 01:09 AM
依我小小的判斷...
你應該是用到了舊版的PHPBB
你可以去官網下載2.0.8a版和中文化
http://www.phpbb.com

大笨熊
2004-04-21, 08:56 AM
應該是chmod的問題
不是版本的問題

willyyen
2004-04-21, 06:53 PM
請問要怎麼改chmod啊??

winkiss
2004-04-21, 08:14 PM
我覺得也是 chmod 的問題 你在Linux 下打入以下的指令

chmod 666 /root/phpBB2/config.php (要看你實際的路境來決定)

willyyen
2004-04-21, 10:24 PM
小弟把phpbb架在lycos
請問這要怎麼改??
ftp連不上去...我該怎麼改??

大笨熊
2004-04-22, 12:54 PM
config.php 的內容

<?php

//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//

$dbms = 'mysql'; //使用的資料庫,一般都是用這個

$dbhost = 'localhost'; //主機位置,一般不用改
$dbname = 'phpbb'; //資料庫名稱,改成你的資料庫名稱
$dbuser = 'rootid'; //登入資料庫的帳號
$dbpasswd = 'rootpw'; //登入資料庫的密碼

$table_prefix = 'phpbb_'; //資料表前置的名稱,一般不用改

define('PHPBB_INSTALLED', trua);

?>

把紅色部分該改的地方改一改就好了

willyyen
2004-04-22, 08:55 PM
對不起喔...
小弟的那些地方都是正確的耶
...
只是不知道要怎麼改chmod