Background: with the price reduction of domain names, the price of hosting servers is getting cheaper and cheaper. many netizens hope to build their own websites, about 70% of users chose to set up their own forum first, so we will set up a forum here.
Background: with the price reduction of domain names, the price of hosting servers is getting cheaper and cheaper. many netizens hope to build their own websites, about 70% of users first set up their own forum, so we will set up a forum here.
Discuz !, The most popular PHP Forum program in China, especially after its free policy, has set off Discuz across networks! Create a forum ***. What's really valuable is that Discuz! Powerful, but its threshold is quite low. all installation/setup processes are completed on the graphical interface, without the need for users to perform any complicated control. Next let's get familiar with Discuz !, Use it to build your own forum.
I. Discuz! Establishment of runtime environment
Discuz! The installation/running of Linux requires a LAMP environment (Linux Apache PHP MySQL). However, most users currently use Windows control systems, therefore, in this article, we will first create Discuz in Windows! Environment (Windows Apache PHP MySQL ).
Generally, we can install Apache, PHP, and other programs separately. However, debugging lags behind to ensure normal operation. However, the entire debugging process is relatively complex. it is not only difficult for beginners, but even some "veterans" are more likely to make mistakes in the debugging process. Therefore, I suggest you apply some Integrated PHP installation programs, such as phpStudy, to simplify the establishment of the runtime environment.
PhpStudy: http: // 61.151.20.99/phpStudy_phpshao.zip
Decompress the downloaded compressed file and double-click phpstudy130.exe. The program will take the initiative to install Apache PHP MySQL ZendOptimizer without any interference.
Tip: 1. in the installation wizard, you will be asked about the PHP Installation Path, which is the local debugging path (here I select C: \ WWW ).
2. during the installation process, if a firewall is enabled and the service is registered and started, the system will prompt whether to trust httpd, mysqld-nt to run, and Port 80 and 3306. please select yes.
After the installation is complete, start the "phpStudy service governance" program to view the running status of Apache and MySQL (1 ). It should be noted that if IIS is installed in the system and is in the startup state, port 80 will be inactive, resulting in Apache failure to start. To start Apache, you must first disable IIS or change the IIS port to a non-80 port.
So far, Discuz! After installing the installation/running environment, start Discuz! .
II. Discuz! Installation Overview
Discuz! A graphical installation mode is adopted. based on the page leaders, you can easily install Forum programs. Of course, in the official installation of Discuz! In the past, some necessary preparations were required.
Step 1: Download Discuz! Install the program, decompress the package, and copy all the files in the upload directory to the PHP root directory (C: \ WWW). to facilitate the call, you can also set a sub-directory, such as bbs.
Discuz! : Http://www.discuz.net/download/download.html
Step 2: Open the config. inc. php file in Notepad and set the values of $ dbuser and $ dbpw to root (2 ).