Warning: preg\_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18454 in /Smarty\_Compiler.class.php on line 454

Fatal error: Smarty error: [in login.tpl line 1]: syntax error: unrecognized tag: php (Smarty\_Compiler.class.php, line 455)

this message coming.. it was working perfect on dev server but on live server its not working.

Dev php version was 5.2.14
new server has PHP Version 5.2.6

is this the problem?