PHPCMS V9 Deployment Site Practice and summary

Source: Internet
Author: User
Tags chmod

Recently with V9 to help friends deployed a decoration company's corporate site www.cxzxzs.com. Record the major issues involved.


1, Linux installation after the corresponding files and folders to do permission settings.
The following files or directories must be writable
such as access to address localhost/phpcms
index.html chmod 777 Index.html
Caches/chmod-r 777 Caches
Html/chmod-r 777 HTML
Uploadfile/chmod-r 777 UploadFile
Phpsso_server/caches/chmod-r 777 Phpsso_server/caches
Phpsso_server/uploadfile/chmod-r 777 Phpsso_server/uploadfile
Site root directory chmod 777 Phpcms (note that there is no-R)

If not, then refer to a note below, there is a repetition of the combination.
./data
./article
./down
./picture
./uploadfile
./index.html
./config.php
./sitemap.xml

2, after changing the domain name, if you need to keep the data in the test environment, you need to do a lot of data in the library to replace
For the article model, the picture model, mainly involves the following 5 table UPDATE v9_news SET url=replace (URL, ' cx3 ', ' www.cxzxzs.com ')
UPDATE v9_picture SET thumb=replace (thumb, ' phpcms ', ' www.cxzxzs.com '), Url=replace (URL, ' phpcms ', ' www.cxzxzs.com ')
UPDATE v9_picture_data SET content=replace (content, ' phpcms ', ' www.cxzxzs.com '), Pictureurls=replace (Pictureurls, ' Phpcms ', ' www.cxzxzs.com ')
UPDATE v9_sso_applications SET url=replace (URL, ' phpcms ', ' www.cxzxzs.com ')
UPDATE v9_position_data SET data=replace (data, ' phpcms ', ' www.cxzxzs.com ')

3, familiar with the MySQL Authority management commands
Grant all privileges in *.* to root@ '% ' identified by ' password ' with GRANT option;
FLUSH privileges;


If you need to be proficient in using or do two development, you need to be familiar with the development of reference documents.

Common reference records are available here for easy lookup.
PHPCMS V9 Official Help Center
Use manual
Two times development

Data



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.