安装phpBB 2在Windows XP跑在亚帕基印第安人2, PHP 5和MySQL 4

phpBB介绍

phpBB是大功率的,充分地可升级和高度customizable开放来源海报栏包裹。 phpBB有用户友好的接口、简单和直接的管理盘区和有用的常见问题解答。 要跑phpBB,强有力的PHP服务器语言在网络服务器需要使能并且安装了任何一个以下数据库: MySQL、MS-SQL、PostgreSQL或者Access/ODBC数据库服务器。

对于更多信息关于怎样准备好待用设定亚帕基印第安人2网络服务器, PHP 5和MySQL 4 phpBB,读了这些 文章.

设定MySQL数据库和用户

  1. 访问MySQL控制台通过叫 mysql - u根- p 在指令提示。注: 如果为MySQL用户`根’未设置密码,正义事假空白,当提示对于密码时和命中进入。
  2. 创造数据库`phpBB2 ′或您通过叫喜欢的所有名字(数据库为phpBB,将拿着所有桌) 创造数据库phpBB2; 在MySQL控制台。
  3. 创造获取的帐户与用户`phpBB2user’ (选择您自己的用户名)和密码`dbpassword’由以下命令:

    mysql> 津贴精选,插入物,更新,删除,索引,在phpBB2.*修改,创造,下落对`phpBB2user’ @ ' `dbpassword’确定的’ localhost;

    注: 选择您自己的密码而不是’ dbpassword’。
    注: 滴下为数据库恢复只需要,并且修改为某些模块和未来升级只需要。
    注: 获取的帐户手段仅容易接近从`localhost’,通入仅允许了对数据库`phpBB2 ′,只有需要的特权授予了。

    mysql>充足的特权;

  4. 放弃MySQL控制台:

    被放弃的mysql>;

下载phpBB 2

下载phpBB详尽的软件包以邮编格式从 phpBB下载站点. 文件如果以.zip引伸结束。

安装phpBB

  1. 提取phpBB压缩文件。
  2. 创造一个目录(即。 论坛、论坛或者phpbb)为phpBB论坛在您的DocumentRoot (默认情况下通常C:\Program Files\Apache小组\ Apache2 \ htdocs,如果安装的亚帕基印第安人),除非phpBB意欲在DocumentRoot,没有推荐。
  3. 复制提取的phpBB文件不是新的论坛目录。
  4. 跑Internet Explorer并且访问http://your_domain_name/forum/index.php (如果您创造目录与相应其他名字,变动),并且应该显示phpBB2设施页。 如果您无法访问网站,当指定“your_domain_name”,用“your_domain_name”替代它以“localhost”或服务器的IP地址。
  5. 在“欢迎到phpBB 2设施”网页,输入以下设置:

    基本排列:
    缺省委员会语言: 英语
    数据库类型: MySQL 4.x
    选择您的设施方法: 安装

    数据库配置:
    数据库服务器主机名/DSN : localhost
    您的数据库名称: database (Your database name)
    Database Username: user (Your MySQL user name)
    Database Password: password (Password for MySQL user)
    Prefix for tables in database: phpbb_

    Admin Configuration:
    Admin Email Address: email@yourdomain.com
    Domain Name: IPAddress (or a valid DNS name visible to the forum’s target audience).
    Server Port: 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)
    Administrator Password [ Confirm ]: 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.

  8. Before selecting “Finish Installation”, the following directories must be deleted:

    C:\www\phpBB2\install
    C:\www\phpBB2\contrib
    [optional] C:\www\phpBB2\docs

  9. If phpBB setup cannot write the configuration file on the server, it will prompts you to save the file. Select “Just send the file to me and I’ll FTP it manually” and click “Download config”. 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).
  10. Delete the contrib and install folders in your forum folder, either by FTP clients or Windows Explorer if it’s local machine.

Testing and Accessing phpBB Forum

Access your forum at http://your_domain_name/forum, replace your_domain_name with your own domain (i.e. localhost or dynamic dns name) and forum with the folder name you put phpBB in.

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.

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”

  1. William
    August 3rd, 2006 04:02
    1

    I have Apache 2, php 5 and 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”. Any ideas anybody why this happens?

  2. Administrator
    August 3rd, 2006 07:51
    2

    William, have you enable the mysql support in php.ini?

  3. Bruce
    August 8th, 2006 22:22
    3

    I’m testing a Tomcat/PHP5/MySQL5 integration.

    Without updating the default php.ini file, I get the error mentioned by William. After updating the ini file to include the mysql extension, my server crashes when trying to open the PHPBB site.

    Ideas?

    java.io.IOException:

  4. Victor Sinha
    January 2nd, 2007 08:18
    4

    Thanks for this tutorial. I am a newbie in this field and I just want to make something of a PHP board. I learnt the basics from you. i will soon come back to learn more. Thanks.

  5. Apache and phpBB
    February 1st, 2007 05: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 does have a much bigger community, and you will be able to get help, if you need it. 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…
    http://www.devside.net/

  6. FunnsFurmentsod
    July 14th, 2007 02:19
    6

    Hi all!

    G’night

  7. Stephen J
    December 17th, 2007 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.

  8. aletly
    March 4th, 2008 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>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

phpbb windows - The PHP configuration on your server doesn't support the database type that you chose - phpBB apache - phpbb wamp - install phpbb - phpbb for windows - installing phpbb - phpbb on windows - phpbb install - xampp phpbb - how to instal phpbb on apache server - node/11/64 - wamp phpbb - phpbb on windows xp - install phpbb on xampp - how to install phpbb in apache - apache phpbb - install phpbb on apache - phpbb2 mysql5 - phpbb xampp - Windows XP pack 2 phpbb Template - installing phpBB forum on server - windows phpbb - install phpbb on wamp - how to install phpbb in xampp - installing phpbb on apache - phpbb on xampp - "The PHP configuration on your server doesn't support the database type that you chose" - phpBB install apache - windows php forums - install phpBB on windows - how to install phpBB with apache - installing phpbb on local machine - install phpbb +windows xp - install phpBB on windows XP - INSTALL PHPBB IN LOCAL - phpbb mysql install windows - install wamp in XP manage folder - phpbb installation tutorial windows - access database with php windowsXP Tutorial - installing phpbb xampp - installing phpbb on xampp - install phpbb xampp - install phpbb local machine - xampp toncat castellano - how to install phpbb - installing phpbb windows xp - Welcome to phpbb2 installation - how to install phpbb in wamp - phpbb + xamp -