levan100
By:
levan100

how to downgrade phpt5 version to old version ?

October 4, 2015 543 views
PHP CMS

"detalife engine" cmc has problem with new version of php5 , i need to downgrade it , please tell me how. as i know my current version is 5.5

i have that problem on my site: i think it's caused php5 version

(Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/templates.class.php on line 68 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/templates.class.php on line 72 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/rss.class.php on line 51 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/templates.class.php on line 68 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/modules/show.short.php on line 164 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/templates.class.php on line 77 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/html/engine/classes/templates.class.php on line 167)
1 Answer

The message is simply a warning that the function has been deprecated. That means that it has been marked for removal in a future release. The deprecation warning is provided to give people advance notice that it will be removed, but it still exists and works on PHP 5.5. You can read all about the decision in the RFC on the PHP wiki. So if that is the only warning you are seeing, then there is no need to try and downgrade PHP.

Have another answer? Share your knowledge.