Home  >  Article  >  CMS Tutorial  >  What should I do if phpcms cannot open the background?

What should I do if phpcms cannot open the background?

藏色散人
藏色散人Original
2020-01-09 09:59:173208browse

What should I do if phpcms cannot open the background?

#What should I do if phpcms cannot open the background?

phpcms V9 installation background cannot be opened solution

The first possibility:

phpcms v9 login uses session, there are two ways to save session, one It is the database storage method, one is the file storage method, and the default is the database storage method. Sometimes the database method does not work. You can modify the storage method of session in \caches\configs\system.php //Session configuration 'session_storage' => 'mysql' and change it to //Session configuration 'session_storage' => ; 'files', try it.

Second possibility:

php configuration environment problem, change PHP.INI to register_globals = On, the default is register_globals = off, and then make sure session.cookie_path = "cache file Save the directory and change it to "session.cookie_path = /", but you may not be able to log in.

Third option:

hosts file problem, point the domain name you want to the local For example: ww .huxiaoguang.com 127.0.0.1 Add this line, change the domain name to the domain name you want, and then use your domain name to install PHPCMS locally. This has the advantage of avoiding you having to modify it after installing it locally and then uploading it to the server. \caches\configs\system.php configuration file, and also clear some caches.

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of What should I do if phpcms cannot open the background?. For more information, please follow other related articles on the PHP Chinese website!

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