在本地能运行,上传到liunx就报错 ,也配置了php.ini为error_reporting = E_ALL & ~E_NOTICE,求大神解答

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 300Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 300Strict Standards: Only variables should be passed by reference in /usr/local/http2/htdocs/upload/includes/cls_template.php on line 422
2026年09月17日 15:42
有1个网友回答
网友(1):

你这是因为php版本不同的原因造成的语法严格性错误,是不影响程序运行的,上到线上最好把报错调整到=0吧。