Home  >  Article  >  Backend Development  >  How to make the install installation file for DreamWeaver_PHP tutorial

How to make the install installation file for DreamWeaver_PHP tutorial

WBOY
WBOYOriginal
2016-07-14 10:06:46721browse

After the Dream Weaver program is completed, if you want to send it to others, you need to take out the database sql file and modify the database connection. After these few steps, the operation of the customer will not be very user-friendly. How to make the completed website , can be installed more conveniently, let me tell you below:

1. Open the install folder and perform the following 4 steps:
 
1. Delete index.html
2. Modify index.php.bak to index.php
3. Delete the install_lock.txt file
4. Change module-install.php.bak to module-install.php
2. Next is the key point. You need to export your database file. In this case, the user can directly install the database you have made, saving a lot of trouble

There are two files sql-dfdata.txt and sql-dftables.txt under the install folder

sql-dfdata.txt file is a data insertion file

sql-dftables.txt is to create data tables and field files

The next step is to export your database, pay attention to the steps

1. Open phpmyadmin, select Dreamweaver database, select export, and perform the following operations (as shown below)

 How to make the install installation file for DreamWeaver_PHP tutorial

Click Execute to copy the exported database information to the sql-dftables.txt file (this file is the operation of creating data tables and fields)

2. The next step is to export the data information, which is the insert statement

How to make the install installation file for DreamWeaver_PHP tutorial

Then select Execute and save the exported data to the sql-dfdata.txt file

At this point, you can send your Dreamweaver to your customers, upload it to the space, directly execute http://domain name/install/, fill in the relevant information of the database, and you can install it.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477930.htmlTechArticleAfter the Dreamweaver program is completed, if you want to send it to others, you need to take out the database sql file and modify the database connection. , after a few steps, the operation is not very user-friendly for customers, such as...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn