n747mm Posted February 5, 2018 Posted February 5, 2018 Hi guys. Firstly thanks for the excellent service. I have a bunch of PHP running on my site on Tommy, and it's stopped working some time in the last few weeks. It looks like the problem is that Tommy's PHP interpreter no longer recognises the short open tag '<?' and only responds to the full '<?php'. Per http://php.net/manual/en/language.basic-syntax.phptags.php it looks like this can be changed in a PHP config file. Is the current behaviour deliberate (in which case I'll have a lot of PHP to fix up), or can it be changed back to recognise the short open tag? Thanks,n747mm Quote
wolstech Posted February 5, 2018 Posted February 5, 2018 This is intentional. In fact, we never meant to support them to begin with, but forgot to turn the setting off when we built the server. Short tags are considered bad practice and are also obsolete (they can conflict with files from other standards that also contain <?, such such as some XML files). Please update your code to use full <?php tags. Quote
n747mm Posted February 5, 2018 Author Posted February 5, 2018 Understood, I'll update the code. Thanks for the quick reply. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.