Actual combat experience: Php+mysql Database Forum Simple Pass

Source: Internet
Author: User
Tags ftp php language mysql win32 zip mysql database phpmyadmin root directory

Campus Forum is one of the indispensable parts of campus network. Although the forum based on Asp+access simple, easy to install, but the MySQL database with its short, convenient, fast, free and so on the advantages of many sites are currently the preferred database, plus the PHP language also has cross-platform, high portability, safe and reliable, fast and efficient advantages, So at present many popular forum programs adopt the Php+mysql to develop together. But for me and the rookie to install the Php+mysql forum on the server is not as simple as asp+access, just put it directly to the site directory to run. Because most php+mysql forums need to be installed before they are used.

If you are going to buy virtual space to run the Php+mysql forum program, then you first have to buy a support php+mysql space, generally suitable for running a small forum (200 people at the same time online) program's virtual space every year the minimum cost is generally about 300 yuan. In addition, you have to set up a MySQL database, create a username and password to successfully install the Php+mysql forum. Some virtual space vendors provide this information directly to you without having to set up their own hands. For example: Shanghai e dynamic network of K300 virtual host, in the background to establish a database called ITLM, the automatic creation of Itlm_f, Itlm_r, itlm_w three users (passwords are set themselves). This can be used directly when installing.

If the school has its own server (Windows system), then follow these steps to set up the server's operating environment first, let the server support Php+mysql.

Server-side Software Installation

Php+mysql Forum Program In most cases are running in Linux, UNIX and other systems, but the installation of Linux, Unix system reconfiguration Php+mysql for me and other rookie is not want to play can play! Here I recommend a Win32 platform for a Web server software: Easyapm-server. Easyapm-server is win2000/xp/.

2003 system under the APACHE+PHP+MYSQL operating Environment Rapid Integration installation Kit. Once installed, the following programs are automatically included, Apache v2.0.54 (Win32), PHP v4.4.0 (Win32), Zend Optimizer (v2.5.10a), MySQL Win32 (v4.0.25), phpMyAdmin v2.6.3-pl1, users do not need to modify any configuration files, for beginners is the most convenient and fastest installation of a Web server platform!

1th step: Download Easyapm-server2 from the following address:

Http://www.byshell.net/Software/Catalog143/4075.html

2nd: Extract the downloaded files to the server d:\usr;

3rd Step: Running D:\usr\install.bat installation Apache+php+mysql set of components on the server; So, in a few minutes, let your server (or PC) instantly become a server that supports Php+mysql.

The 4th step is to establish MySQL database. In the server IE Address bar input: http://localhost/phpmyadmin/, using phpMyAdmin to build a database called ITLM;

Attention:

(1) If the server originally installed the IIS service, please stop the service before installing Easyapm-server, or change the default port, otherwise it will not install properly;

(2) Easyapm-server after installation, the default login username: root password: micronsky.net, after entering the background can use the "permission" to more MySQL database default password, add new MySQL users, set user rights and other operations, Here we have a new user: Itlm_f;

(3) For more action, see the documentation in the Easyapm-server.

Install phpwind3.0.1

Free Personal Edition Forum program

1th Step: Download the decompression Phpwind installation package. From http://www.phpwind.com/download.php?action=do&&p= Pwforums&&v=4.3&&n=phpwind_gbk_ 4.3.2.zip Download Phpwind 4.3.2 Official edition (PHP+MYSQL) High Speed Forum program.

2nd step: Upload phpwind Program files. If you are using a virtual host, as long as the use of FTP software will be extracted after all the files uploaded to the site root directory, to ensure that the root directory can see install.php on it!

If you are installing the Easyapm-server on your own server, simply delete all files except the phpMyAdmin folder (for online admin database) D:\usr\www, and then extract all files from Phpwind.zip to D:\usr\www. Ensure that D:\usr\www can see the install.php files, these are Phpwind forum installation program files;

3rd Step: Set the related directory and file properties (the server if it is a Windows platform, this step can be omitted, directly to the relevant files or folders can be written). Verify that the following directory or file properties are (777) writable:

       
        
         
        datadata/sql_config.phpattachmentdata/bbscachedata/groupdbdata/stylehtm_datatemplatetemplate/windtemplate/ Adminimage/upload Image/attach
       
        

Set method: In the FTP software, right-click the corresponding directory and file, and then select Properties (CHMOD), in the Pop-up Properties window, select all the check boxes, or directly in the text box to enter "777", the last click OK.

Step 4th: Run the install.php installation forum. In IE input http://your domain name (this machine fills: localhost)/install.php, enters the installation interface. Read the installation terms of the program, click the "Agree" button to continue to install the forum, and then there will be the forum to install the most important step, as shown in Figure 2. If there is a red error message indicating that you have a problem with the property settings, please follow the prompts to reset it! Here fill in the database username, database password and database name must be in accordance with the previous established name password to fill out! If this is the first time it is installed, the table partition symbol entry is not modified. Founder Information Truthfully fill in, Login forum backstage, management forum and so on need to enter this account and password! After filling out, click the "Start Installation" button, into the following page to follow the on-screen prompts can successfully complete the installation of the forum! After the installation of the forum, you can directly enter the background to set the forum parameters.

Set up a forum

Forum just installed, only a default plate, with Administrator account login Forum background program, add the appropriate forum layout! Then apply for a domain name, parsing to the server, you can let friends on the Internet visit!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.