Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4安裝phpbb 2在Windows XP上運行的Apache 2 , PHP 5中和MySQL 4

Introduction to phpBB 介紹phpbb

phpBB is a high powered, fully scalable, and highly customizable Open Source bulletin board package. phpbb是一個大功率,完全可伸縮的,具有很強的可定制的開放源碼公告板套件。 phpBB has a user-friendly interface, simple and straightforward administration panel, and helpful FAQ. phpbb有一個友好的用戶界面,簡單明了的政府事務委員會,並幫助常見問題解答。 To run phpBB, powerful PHP server language needs to be enabled on web server and installed any one of the following database: MySQL, MS-SQL, PostgreSQL or Access/ODBC database servers.運行phpbb ,功能強大的服務器上的PHP語言的需要,必須啟用Web服務器和安裝下列任何一種數據庫: MySQL中,在MS -的SQL , PostgreSQL的或存取/ ODBC數據庫服務器。

For more information on how to setup Apache 2 web server, PHP 5 and MySQL 4 ready for use of phpBB, read these更多信息,就如何安裝Apache 2網頁服務器, PHP 5中和MySQL 4月準備就緒,使用phpbb ,閱讀這些 articles文章 .

Setup MySQL Database and User 安裝MySQL數據庫和用戶

  1. Access the MySQL console by calling mysql -u root -p at command prompt.Note: If password for MySQL user ‘root’ has not been set, just leave blank when prompted for the password and hit Enter.訪問MySQL的控制台,要求MySQL的中美根- P的 AT命令prompt.note :如果密碼為MySQL用戶'根'尚未確定,只是留空當系統提示密碼和回車鍵。
  2. Create database ‘phpBB2′ or any name you like (database for phpBB, which will hold all tables) by calling CREATE DATABASE phpBB2; at MySQL console.創建數據庫' phpbb2 '或以任何名義,你喜歡(數據庫phpbb ,這將持有的所有表格) ,要求創建數據庫phpbb2 ; MySQL的控制台。
  3. Create secured account with user ‘phpBB2user’ (Choose your own user name) and password ‘dbpassword’ by following commands:建立擔保帳戶與用戶' phpbb2user ' (選擇自己的用戶名)和密碼' dbpassword '以下命令:

    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, DROP ON phpBB2.* TO ‘phpBB2user’@'localhost’ IDENTIFIED BY ‘dbpassword’; MySQL的>給予選擇插入,更新,刪除,索引,改變,創造的下降phpbb2 .* ' phpbb2user ' @ '機'所確定的' dbpassword ' ;

    Note: Choose your own password instead of’dbpassword’.注:選擇自己的密碼,而是of'dbpassword ' 。
    Note: DROP is only required for database restores, and ALTER is only required for certain modules and future upgrades.注:下降,只是所需的數據庫恢復,並改變只需要對某些模塊和未來的升級。
    Note: Secured account means only accessible from ‘localhost’, access permitted only to database ‘phpBB2′, only needed privileges granted.注:擔保帳戶的手段,只可從'機' ,才允許進入到數據庫' phpbb2 ' ,只需要賦予的特權。

    mysql> FLUSH PRIVILEGES; MySQL的>沖水特權;

  4. Quit the MySQL console by:退出MySQL的控制台:

    mysql> quit; MySQL的>退出;

Download phpBB 2 下載phpbb 2

Download the phpBB Full Package in zip format from下載phpbb完整的套件在ZIP格式從 phpBB download site phpbb下載網站 . The file should ended with .zip extension.該文件應該結束。 zip擴展名。

Install phpBB 安裝phpbb

  1. Extract the phpBB zip file.提取phpbb zip檔案。
  2. Create a directory (ie forum, forums or phpbb) for phpBB forum at your DocumentRoot (normally C:\Program Files\Apache Group\Apache2\htdocs if Apache installed by default), unless the phpBB is intended at DocumentRoot itself, which is not recommended.創建一個目錄(即論壇,論壇或phpbb ) phpbb論壇在您的documentroot (通常為C : \程序文件\阿帕奇組\ Apache2中\ htdocs如果Apache的默認安裝) ,除非phpbb用意是在documentroot本身,這是不建議。
  3. Copy the extracted phpBB files nto the new forum directory.複製提取phpbb檔案不是新的論壇目錄。
  4. Run Internet Explorer and access http://your_domain_name/forum/index.php (if you create directory with other name, change accordingly) and the phpBB2 installation page should be shown.運行Internet Explorer和獲得http://your_domain_name/forum/index.php (如果您所創建的目錄與其他名稱,改變相應的)和phpbb2安裝網頁應該顯示。 If you unable to access the the website when specify “your_domain_name”, substitute it with either “localhost” or the server’s IP address for the “your_domain_name”.如果您無法訪問該網站時,指定“您的” ,取代它無論是“ localhost ”的或服務器的IP地址為“您的” 。
  5. At the “Welcome to phpBB 2 Installation” web page, enter the following settings:在“歡迎使用phpbb 2安裝”網頁,輸入以下設置:

    Basic Configuration:基本配置:
    Default board language: English默認情況下董事會語言:英語
    Database Type: MySQL 4.x數據庫類型: MySQL的4.x中
    Choose your installation method: Install選擇您的安裝方法:安裝

    Database Configuration:數據庫的配置:
    Database Server Hostname / DSN: localhost數據庫服務器主機/ DSN的:本地
    Your Database Name: database (Your database name)您的數據庫名稱:數據庫(您的數據庫名稱)
    Database Username: user (Your MySQL user name)數據庫的用戶名:用戶(您的MySQL用戶的姓名)
    Database Password: password (Password for MySQL user)數據庫密碼:密碼(密碼為MySQL用戶)
    Prefix for tables in database: phpbb_前綴表在數據庫: phpbb_

    Admin Configuration:政府當局配置:
    Admin Email Address: email@yourdomain.com政府當局的電子郵件地址: email@yourdomain.com
    Domain Name: IPAddress (or a valid DNS name visible to the forum’s target audience).網域名稱: ipaddress (或一個有效的DNS名稱看得見論壇的目標受眾) 。
    Server Port: 80服務器端口: 80
    Script path: /forum/腳本路徑: /論壇/
    Administrator Username: Admin (this will be your user name to the forum)管理員用戶名:政府當局(這將是您的使用者名稱向論壇)
    Administrator Password: AdminPW (this will be your password to the forum)管理員密碼: adminpw (這將是您的密碼以論壇)
    Administrator Password [ Confirm ]: AdminPW管理員密碼[確認] : adminpw

  6. Click the “Start Install” button(once only)點擊“開始安裝”按鈕(一旦)
  7. At this point you should see a screen with the following text:在這一點上,您應該看到一個屏幕,與下列文字:

    Your admin username has been created.您的管理員的用戶名已創建。 At this point your basic installation is complete.在這一點上您的基本安裝完成。 You will now be taken to a screen which will allow you to administer your new installation.現在,您將被帶到一個屏幕上,這將允許您管理您的新的安裝。 Please be sure to check the General Configuration details and make any required changes.請務必檢查一般配置的細節和進行任何必要的改變。 Thank you for choosing phpBB 2.感謝您選擇phpbb 2 。

  8. Before selecting “Finish Installation”, the following directories must be deleted:之前,選擇“完成安裝” ,下列目錄必須被刪除:

    C:\www\phpBB2\install為C : \ WWW的\ phpbb2 \安裝
    C:\www\phpBB2\contrib為C : \ WWW的\ phpbb2 \ contrib
    [optional] C:\www\phpBB2\docs [可選]為C : \ WWW的\ phpbb2 \文件

  9. If phpBB setup cannot write the configuration file on the server, it will prompts you to save the file.如果phpbb安裝程序無法寫入配置文件在服務器上,它會提示您保存該文件。 Select “Just send the file to me and I’ll FTP it manually” and click “Download config”.選擇“只發送文件給我,我會的FTP手動” ,然後點擊“下載配置” 。 When offered the opportunity to save install.php elect to save the file to your forum folder (you will get a “replace Yes/No” style message).當提供了機會,以保存install.php選舉將文件保存到您的論壇文件夾(你將獲得一個“取代有/無”的作風訊息) 。
  10. Delete the contrib and install folders in your forum folder, either by FTP clients or Windows Explorer if it’s local machine.刪除contrib和安裝文件夾在您的論壇文件夾中,無論是由FTP客戶端或Windows檔案總管,如果它的本地機器上。

Testing and Accessing phpBB Forum 測試和訪問phpbb論壇

Access your forum at http://your_domain_name/forum, replace your_domain_name with your own domain (ie localhost or dynamic dns name) and forum with the folder name you put phpBB in.訪問您的論壇http://your_domain_name/forum ,取代您的與您自己的網域(即localhost或動態DNS名稱)和論壇與文件夾名稱,你把phpbb英寸

Note: If it’s not possible to access via your_domain_name from your own machine, replace it with localhost or 127.0.0.1.注意:如果它不可能獲得通過您的從您自己的機器,取代它的localhost或127.0.0.1 。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article原來的英語文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 .



8 Responses to “Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4” 8回應“安裝phpbb 2在Windows XP上運行的Apache 2 , PHP 5中和MySQL 4 ”

  1. William威廉。
    August 3rd, 2006 04:02 2006年8月3日4時02分
    1

    I have Apache 2, php 5 and mysql 5.我的Apache 2 , PHP 5中和MySQL 5 。 I have set them all up correctly but when I try and install phpbb2, (after clicking submit) I get the message “The PHP configuration on your server doesn’t support the database type that you chose”.我所訂的把他們都歸結正確但當我試著和安裝phpbb2 , (點擊後提交)我得到消息“ PHP的配置您的服務器不支持的數據庫類型,你選擇” 。 Any ideas anybody why this happens?任何想法的人,為什麼出現這種情況呢?

  2. Administrator管理員
    August 3rd, 2006 07:51 2006年8月3日7時51分
    2

    William, have you enable the mysql support in php.ini?威廉,你讓MySQL支持在php.ini ?

  3. Bruce布魯斯
    August 8th, 2006 22:22 2006年8月8日22時22分
    3

    I’m testing a Tomcat/PHP5/MySQL5 integration.我測試tomcat/php5/mysql5一體化。

    Without updating the default php.ini file, I get the error mentioned by William.沒有更新的默認的php.ini文件,我得到的錯誤所提到的威廉。 After updating the ini file to include the mysql extension, my server crashes when trying to open the PHPBB site.更新後, INI文件,包括MySQL擴展,我的伺服器當機試圖打開phpbb的網站。

    Ideas?想法?

    java.io.IOException: java.io.ioexception :

  4. Victor Sinha維克托辛哈
    January 2nd, 2007 08:18 2007年1月2日8時18分
    4

    Thanks for this tutorial.感謝本教程。 I am a newbie in this field and I just want to make something of a PHP board.我是一名新手在這方面和我只想提出一些PHP的董事會。 I learnt the basics from you.我學到的基本知識,從你。 i will soon come back to learn more.我會盡快回來,以了解更多資訊。 Thanks.謝謝。

  5. Apache and phpBB Apache和phpbb
    February 1st, 2007 05:17 2007年2月1日5時17分
    5

    I would recommend SMF over phpBB, as the later has had some serious security issues, which might or might not persist under phpBB v3.我建議將證券保證金融資超過phpbb ,作為稍後了一些嚴重的安全問題,這可能或可能不會堅持下, phpbb v3的。

    phpBB does have a much bigger community, and you will be able to get help, if you need it. phpbb確有一個更大的社會,你將能夠得到幫助,如果您需要它。 Its also a bit easier to setup.它也有點容易安裝。

    If you want to just try out phpBB under Windows, without the setup, you can get a WAMP Server distribution that has it pre-configured…如果您想剛才嘗試phpbb Windows環境下,如果沒有安裝,您可以得到wamp服務器分佈有預先設定的…
    http://www.devside.net/

  6. FunnsFurmentsod funnsfurmentsod
    July 14th, 2007 02:19 2007年7月14日02:19
    6

    Hi all!喜!

    G’night g'night

  7. Stephen J斯蒂芬j
    December 17th, 2007 19:04 2007年12月17日19時04分
    7

    Hi, i setup and installed phpBB with ease, even without this tutorial, but the problem i face is whenever i click on the “login to adminastration panel” it prompts me to download the “login.php” file, how do i stop this so i can setup and install mods etc.嗨,我的設置和安裝phpbb輕鬆,即使沒有此教程,但我面對的問題是每當我點擊“登錄到adminastration小組” ,它提示我要下載“ login.php ”文件,我該如何停止這種因此,我可以設置和安裝多器官功能障礙綜合徵等。

  8. aletly
    March 4th, 2008 14:35 2008年3月4日14時35分
    8

    Yo!呦!
    Finally I found your site, I am so happy!最後,我發現您的網站,我很高興!
    Bye附屬的

Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

phpbb windows phpbb的Windows - - The PHP configuration on your server doesn't support the database type that you chose PHP的配置您的服務器不支持的數據庫類型您選擇 - - phpBB apache phpbb阿帕奇 - - phpbb wamp phpbb wamp - - install phpbb 安裝phpbb - - phpbb for windows phpbb適用於Windows - - phpbb on windows phpbb在Windows - - installing phpbb 安裝phpbb - - phpbb install phpbb安裝 - - xampp phpbb xampp phpbb - - wamp phpbb wamp phpbb - - how to instal phpbb on apache server 如何安裝phpbb對Apache服務器 - - apache phpbb 阿帕奇phpbb - - node/11/64 node/11/64 - - phpbb on windows xp phpbb在Windows XP - - install phpbb on xampp 安裝phpbb對xampp - - how to install phpbb in apache 如何安裝phpbb在Apache - - phpbb xampp phpbb xampp - - install phpbb on apache 安裝phpbb關於阿帕奇 - - phpbb2 mysql5 phpbb2 mysql5 - - Windows XP pack 2 phpbb Template 在Windows XP Pack 2的phpbb模板 - - installing phpBB forum on server 安裝phpbb論壇的服務器 - - windows phpbb 在Windows phpbb - - install phpbb on wamp 安裝phpbb對wamp - - how to install phpbb in xampp 如何安裝phpbb在xampp - - install phpbb xampp 安裝phpbb xampp - - installing phpbb on apache 安裝phpbb關於阿帕奇 - - phpbb on xampp phpbb對xampp - - "The PHP configuration on your server doesn't support the database type that you chose" “ PHP的配置您的服務器不支持的數據庫類型,你選擇” - - phpBB install apache phpbb安裝的Apache - - windows php forums 在Windows的PHP論壇 - - install phpBB on windows phpbb安裝在Windows - - phpbb on xp phpbb在XP上 - - how to install phpBB with apache 如何安裝phpbb與Apache - - installing phpbb on local machine 安裝phpbb本地計算機上 - - install phpbb +windows xp 安裝phpbb + Windows XP中 - - testing phpbb locally 測試phpbb本地 - - install phpBB on windows XP phpbb安裝在Windows XP - - INSTALL PHPBB IN LOCAL 安裝phpbb在當地 - - phpbb mysql install windows phpbb MySQL的安裝Windows - - install wamp in XP manage folder wamp安裝在XP中管理文件夾 - - phpbb installation tutorial windows phpbb安裝教程的Windows - - access database with php windowsXP Tutorial Access數據庫用PHP windowsxp補習 - - installing phpbb xampp 安裝phpbb xampp - - installing phpbb on xampp 安裝phpbb對xampp - - installing phpbb on wamp 安裝phpbb對wamp - - install phpbb local machine 安裝phpbb本地機器 - - xampp toncat castellano xampp toncat castellano - - how to install phpbb 如何安裝phpbb - - installing phpbb windows xp phpbb安裝的Windows XP - -