Migrated websites running on PHP 5.3 display incorrectly

Created:

2016-11-16 13:22:36 UTC

Modified:

2017-08-08 13:22:29 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Migrated websites running on PHP 5.3 display incorrectly

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • Migrated websites running on PHP 5.3 display incorrectly
  • Migration for this domains were completed without any errors.
  • No errors in web server logs.

Cause

  • In source code of the websites short form <? ?> of PHP's open tag is in use.
  • short_open_tag directive is turned off.

Resolution

Enable short_open_tag :

  • For particular domain:

    Go to Plesk > Subscriptions > example.com > PHP Settings > short_open_tag > On .

  • Globally:

    Plesk > Tools & Settings > PHP Settings > PHP handler > php.ini > short_open_tag = On >Apply settings .

Have more questions? Submit a request
Please sign in to leave a comment.