What should I do if dede php is not running?
The solution to dede php not running: 1. Find the template engine disabled tag and delete "php" in it; 2. Execute the command "INSERT INTO `dede_sysconfig` (`varname`, ` in the SQL command line info`, ``...)".
The operating environment of this article: Windows 7 system, DedeCMS version 5.6, DELL G3 computer
Specific questions:
dede:php cannot be executed, waiting online urgently.
There is no template engine disabled PHP function and template engine disabled tag in the DreamWeaver backend
I entered
INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_funs', '模板引擎禁用PHP函数', 7, 'bstring', 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec ,curl_multi_exec,parse_ini_file,show_source,file_put_contents'); INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_tags', '模板引擎禁用标签', 7, 'bstring', 'php');
in the SQL command line tool and then removed the template engine disabled The label corresponds to the php in the box.
Still cannot execute dede:php
in the generated interface. Solution:
You need to confirm whether you are serious. Carefully complete the following two steps:
Step 1: Website backend - system - basic system parameters - other options - template engine disable tag: delete "php" in it.
After completing this step, the problem is generally solved. If not resolved, proceed to step two.
Step 2: Execute the following commands in the SQL command line. Generally, it is more convenient to use the mysql command in phpmyadmin.
INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_funs', '模板引擎禁用PHP函数', 7, 'bstring', 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents');
Note: Copy what I typed above in the SQL command line, do not copy other ones, because some web pages may have layout problems. You can't type it against the screen yourself, because there are two types of single quotation marks and it's easy to get them confused.
Of course, there is another possibility that you have executed the command multiple times. Go directly to phpmyadmin, check the dede_sysconfig data, and delete unnecessary ones.
Related recommendations: "dedecms tutorial"
The above is the detailed content of What should I do if dede php is not running?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
