Home >Backend Development >PHP Tutorial >Graphic introduction of upgrading Dedecms v5.6 to Dedecms v5.7 sp1
This article mainly introduces the latest tutorial (picture and text tutorial) for upgrading Dedecms v5.6 to dedecms v5.7 sp1. Friends in need can refer to it
Recently, dedecms safety accidents have occurred frequently. Everyone should As a warning, dedecms has updated the emergency security patch on July 15. If your version of dedecms is still very old, then the editor of Wuyou Host strongly recommends that you upgrade as quickly as possible from dedecms v5.6 to the latest dedecms v5.7. Don't leave things to chance, upgrade quickly. If you are still thinking, how to upgrade dedecms v5.7 sp1 version. Then, please read the help document below the dedecms tutorial by the editor of Worry-Free Host, and will introduce you to the dedecms v5.7 sp1 method in detail. The following is my belief process of upgrading dedecms v5.7 from dedecms v5.6.
无 worryhost editorThe installation is the dede v5.6 version. When we log in to the website background, we can see the version information, as shown below:
Now we want to upgrade to version v5.7, then
1. We need to download an upgrade package from the dedecms official website. When downloading here, you need to pay attention to choosing the version that suits you. The editor uses gbk version, you will get the following directory after decompression:
dede root directory
2. Back up the database and files
1 Database Log in to the system background for backup, enter the [System]->[Database Backup/Restore] interface, and then click the "Submit" button to back up the current data table
dedecms background
2. File backup, move the directories in the system except uploads, data and generated staticHTML to a v56dede directory.
Program data
Note: It is necessary to ensure that /data/common.inc.php in the original system has not been modified
3) We compress the data of the upgrade package into zip format The compressed package, as shown in the figure:
Compress the .zip file
After that, we upload the compressed package to the root directory of the website public_html, and then use the online decompression function of the worry-free host space to decompress it and directly overwrite the original file. (For online decompression operations, please refer to "Online Decompression")
Execute the ./update/ folder in the directory, open it in the browser: http://your site domain name/update, and upgrade the program
dedecms upgrade step 1
Finally we still need to update the websitecacheand update and generate the website columns. The specific operation is to log in to the background and select - Generate - update cache - update home page - update columns - update all documents, as shown in the figure:
dedecms update buffer
dedecms template download address : www.php.cn/xiazai/code/dedecms
After upgrading dedecms 5.7, you need to refer to the official method for security settings and server-side settings.
The above is the detailed content of Graphic introduction of upgrading Dedecms v5.6 to Dedecms v5.7 sp1. For more information, please follow other related articles on the PHP Chinese website!