Question

how to downgrade phpt5 version to old version ?

Posted October 4, 2015 1.9k 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)
edited by asb

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

Submit an Answer