dedephp不运行的解决办法:1、找到模板引擎禁用标签,删除其中的“php”;2、在SQL命令行中执行命令“INSERTINTO`dede_sysconfig`(`varname`,`info`,``...)”。
本文操作环境:windows7系统、DedeCMS5.6版,DELLG3电脑
具体问题:
dede:php无法执行,在线等急。
织梦后台开始没有模板引擎禁用PHP函数和模板引擎禁用标签
立即学习“PHP免费学习笔记(深入)”;
我在SQL命令行工具内输入了
INSERTINTO`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');INSERTINTO`dede_sysconfig`(`varname`,`info`,`groupid`,`type`,`value`)VALUES('cfg_disable_tags','模板引擎禁用标签',7,'bstring','php');