Plesk for Windows
Plesk for Linux
kb: technical
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
A website was migrated or imported to Plesk successfully, but its content is shown incorrectly.
-
No errors are logged by the web server.
-
Short tags may be found in the website's response:
# curl -sLk https://example.com/ | grep -Eo '<?[^>]+>'
<?if(isset(Route::url()['controller']):?>
<?endif?>
<?foreach($menu as $part=>
<?endforeach?> -
The option short_open_tag is disabled in Domains > example.com > PHP Settings.
Cause
The websites use short tags (<?
instead of <?php
), however they are not processed because the parameter short_open_tag is disabled.
Resolution
-
Go to Domains > example.com > PHP Settings.
-
Enable the option short_open_tag and click OK or Apply to save the changes.
Comments
0 comments
Please sign in to leave a comment.