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