Step 1: Configure the PHP environment
I ran into PHPCMS V9 and PHP5.5
\
Step 2: Database attachment
1. Open phpMyAdmin my SQL database
\
2. [New] Database name (same as the original program database name)
\
3. [Import] Database
Phpmyadmin import database warning: exceeded PHP limits
URL: blog.csdn.net/cplvfx/arti…
\
Step 3: Modify the site database configuration file
Site root directory \caches\configs\ database.php
\
‘hostname’ => ‘localhost’, ‘port’ => 8092, ‘database’ => ‘CGNHSJKM ‘, ‘username’ => ‘root’, ‘password’ => ‘root’, (password)
Part four: Modify the PHPSSO_server database configuration file
Root directory phpsso_server caches configs database.php
\
‘hostname’ => ‘localhost’, ‘port’ => 8092, ‘database’ => ‘CGNHSJKM ‘, ‘username’ => ‘root’, ‘password’ => ‘root’, (password)
\
Step 5: Modify the PHPSSO_server site configuration file
Phpsso_server/caches/configs/system.php /
\
The path is not their own site to change their own line!
\
\
If you do not know “site login password” or “PHPSSO login password”
First: reset phPSSO login password
\
【 v9_sso_admin 】 b0a5474d1ac51443e68f6298ea495aa2 \
\
Account: PHPCMS Password: PHPCMS
\
Second: Reset “site login password”
\
82 bfdf222498c008f337556c8f18fc78 \ [v9_admin is assigned]
\
Account number: PHPCMS Password: cgnhdlMM123 \
\
Save the modification and restart! Refresh the page! \
\
\
Step 6: Generate the home page and update the cache
Enter the background, generate the home page, update the cache
\
\
MD update due to the domain name is not the same, column links are wrong! I finally found a solution after a long search!
\
Link: www.cnblogs.com/tianfengcao…
PHPCMS V9 website after domain name change, refresh all cache, column link always changed \
1. Open the caches\configs\system.php file and batch replace the domain names in it, such as http://127.0.0.1 with your new one, such as http://127.0.0.2, and save
2. Log in to the background, find “Settings” – “site management” – “Default site”, click the right “Modify”, modify the site “site domain name” domain name, and save.
3. Go to “Content” – Attachment Management – Attachment Address replacement and change the new access address to:
Such as, the original attachment address is: http://127.0.0.1/uploadfile/, then a new access address is:
http://127.0.0.2/uploadfile/ modified to implement.
4. Go to Content – Manage Columns and click Update Column Cache.
5. Find the “Content” – “Batch Update column page” – “Start Update” buttons.
6. Find the Content – Batch Update URL – Start Update buttons.
7. Find the “Content” – “Batch Update Content page” – “Start Update” buttons.
8. Click the “Update Cache” button in the upper right corner to update the site cache. \
\
Thanks again to the author! Let me solve the biggest problem of all!
Link: www.cnblogs.com/tianfengcao…
\
If you feel that the author’s article has helped you, and you are willing to contribute to the authorsaidHard money! Can pay treasure or wechat pay to give support!
\