Home > Article > Backend Development > Complete tutorial for Drupal7 installation, drupal7 tutorial_PHP tutorial
Drupal7 pre-historic preparations (installing AppServ)
AppServ is a PHP web framework Website tool package, the author repackages some free website building resources on the Internet into a single installation program to facilitate beginners to quickly complete the website building. The software included in AppServ is: Apache,
Apache Monitor, PHP, MySQL , phpMyAdmin, etc.
1. Download appserv-win32-2.5.10.exe (http://www.appservnetwork.com)
2. Install appserv. For detailed instructions, see:
http://jingyan.baidu.com/article/91f5db1bf72ac01c7f05e3a7.html
Recommendation: Set the Web service port to 8080 during installation to avoid interference with IIS Service port 80 conflict.
3. Create and manage database: visit http://localhost:8080, click "phpMyAdmin Database Manager"
to enter the mysql database management platform. The default user is root and the password is empty.
Remark 1: "phpmyadmin detailed graphic tutorial" see:
http://jingyan.baidu.com/article/154b4631a9a9b828cb8f416c.html
After root login, enter " "Permissions", find the corresponding user, click the "Edit Permissions" button,
to modify the password or permissions.
Remark 2: XAMPP (Apache+MySQL+PHP+PERL) is recommended, which is a powerful website building software package. The original name of this software package was LAMPP, but in order to avoid misunderstanding, the latest versions were renamed
to XAMPP. It can be installed
and used under various operating systems such as Windows, Linux, Solaris, Mac OS X, etc., and supports multiple languages: English, Simplified Chinese, Traditional Chinese, Korean, Russian, Japanese, etc.
Drupal7 installation preparations1. Download drupal7 (http://drupalchina.cn/download), unzip the folder and rename it drupal7, copy to
D: AppServwww directory.
2. Download the language pack file (http://drupalchina.cn/download) and install the language pack file: Place the .po file
into the drupal7/profiles/standard/translations directory
3. Create a configuration file: Enter the sites/default directory, copy default.settings.php, and name
settings.php
To avoid "drupal7 request exception, execution time is too long" " problem, add this sentence at the end of
in settings.php (modify read-only permissions):
$conf['drupal_http_request_fails'] = FALSE;
4. Create a user file directory: Create a new directory under the sites/default directory named files
5. Set permissions:
If it is a Linux platform, please set the permissions of the files directory to 777, and set settings.php to web
Writable by the server user. If you are not sure, you can also first Set to 777.
If it is a Windows platform, refer to the figure below to set the permissions of the files directory and settings.php file to give
everyone user "full control".
6. You can visit: http://localhost:8080/drupal7 in the browser to enter the drupal7 installation and configuration interface.
Drupal7 installation and configuration process1. Select the installation method: Standard!
2. Select language: Chinese!
3. Confirm the installation conditions: modify the C:Windowsphp.ini file:
memory_limit = 32M
Restart the apache web service, refresh the current page, and enter the database configuration.
4. Database configuration
By default, only sqllite database can be connected. Of course we want to use the mysql database. what to do?
Modify the C:Windowsphp.ini file:
extension=php_pdo_mysql.dll //Enable drupal to connect to the mysql database
Restart the apache web service, refresh the current page, and display that the mysql database can be connected.
Create an empty database in advance: drupal
Be careful when configuring the database: do not enter spaces by mistake!
After this step is successful, enter the database management interface and you will see that many data tables have been automatically created, as shown below:
5. Set up the website
6. Installation completed
Note: Sometimes during the installation process, a timeout error will occur due to the installation of translation and other steps taking too long. Solve it
Method: Open the php.ini file, find max_execution_time, and change the following number to the time you
want (for example, 3000). The unit is seconds. After modification in this way, the service needs to be restarted.
7. Visit the new website
Next step: Use drupal7 well, go for it!
Attachment: Complete tutorial with pictures -http://download.csdn.net/download/huazeming999/7674957
DRUPAL must be supported by PHP and MYSQL or related databases. After decompressing DRUPAL to the space, click on the installation path in the browser. It is best to install it in the root directory, so you can directly access it by entering the domain name. Press the screen display to install the Chinese version. Package and enter the database information, and finally click OK. If it cannot be installed, the biggest problem may be that the space is not supported or the PHP and MYSQL versions are too low. Let me explain, any method of modifying the original program online is a scammer's method.
There are quite a few free ones in English, but I have only seen paid ones among the more systematic ones in Chinese. How about searching on Youku? There are some there, but they are not systematic enough