Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 300
Strict Standards: Only variables should be passed by reference in F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 422
基本出现这两个错误
F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 422:
422行语句: $tag_sel = array_shift(explode(' ', $tag));(有人说是php版本版本太高了,不支持)
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag);
$tag_sel = array_shift($tag_arr);
//改完后,还是不行,求大神帮忙
php和apache版本太高了 试下php5.2 apache2.2