Report this

What is the reason for this report?

how to downgrade phpt5 version to old version ?

Posted on October 4, 2015

“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)


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.