Question

how to downgrade phpt5 version to old version ?

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.