Phorum installation guide. 1. to install php, we recommend that you use php 3.0.12 or a later version, but Phorum can also work under 3.0.6, but there are some problems. phorum has been tested under 3.0.12 and 4beta3. 2. install the database. mysql version 1. to install php, we recommend that you use php 3.0.12 or a later version, but Phorum can also work under 3.0.6, but there are some problems.
Phorum has been tested under 3.0.12 and 4 beta 3.
2. install the database.
Mysql version 3.22.x or later. (www. tcx. se)
PostgreSQL 6.4.1 or later. (www.postgresql.org)
3. if you do not have a database, use "mysqladmin" to create one:
Mysqladmin-uuser-ppassword create mydb
Use the root user (empty password): mysqladmin create mydb
You can also use mysql:
Mysql> create database mydb;
4. confirm that this user has the right to select, insert, update, delete, create, alter, and drop databases.
A MySQL authorization statement for this user can be as follows:
GRANT
Select, insert, update, create, alter, delete, drop
ON
Database .*
TO
User @ localhost
IDENTIFIED
Password;
If you use the root user directly, you do not need to perform step 4.
5. create a table. use *. SQL in the db directory to do this. for example, in MYSQL, you can do this:
> Mysql-uuser-ppassword dbname <mysql. SQL
Use the root user (empty password): mysql dbname <mysql. SQL
For example, mysql mydb <drive: pathmysql. SQL
6. modify common. php. (skip this step unless necessary)
A) Modify $ inf_path to the directory where you put forums. php.
B) Modify $ include_path to the directory where the stored Ded file is stored.
C) Modify $ admindir to the directory where you put the admin file.
E) set the name of the main management script ($ admin_page) (index. php by default ).
F) configure the Phorum and your DBMS interfaces. modify this line:
Require./db/{yourdbms}. php;
Example: require./db/mysql. php;
Find the file you need from the db directory.
Note: If you use POSTGRESQL 6.5 or an updated version, use
Postgresql65.php file. other postgresql. php files are used.
7. enable webserver to write the admin/forums directory (only for Unix and Linux users)
> Cd admin
> Chmod 707 forums
8. enable webserver to write the configuration file (only for Unix and Linux users)
> Cd [inf_path]
> Chmod 707 forums. php
> Chmod 706 forums. bak. php
9. transfer the file to the web server. virtualize the directory storing phorum into the web virtual directory phorum.
Note: If this is your first installation, you need to rename these files:
Forums. php-dist => forums. php
Forums. bak. php-dist => forums. bak. php
Header. php-dist => header. php
Footer. php-dist => footer. php
10. go to the Admin management page and use http: // localhost/phorum/admin/index. php
Select phorum setup and database settings to set the database connection parameters.
You can also modify phorums. php:
// Initialize database variables
$ DbName = mydb; // Set the database name
$ DbUser = root; // Set the user
$ DbPass =; // Set the user password
$ DbServer = localhost; // Set the database server
11. select main to return to the home page and select "new forum" to create a forum
12. OK. you can use it.
Http://www.bkjia.com/PHPjc/532092.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532092.htmlTechArticle1. to install php, we recommend that you use php 3.0.12 or a later version, but Phorum can also work under 3.0.6, but there are some problems. phorum has been tested under 3.0.12 and 4 beta 3. 2. install the database. mysql version...