How to enable PHP short open tags via .htaccess


PHP short open tags is deprecated feature of PHP and is strongly discouraged. When your website loads php code instead of your website, usually this means that your php file starts with short version of php tags: <? this code shuld always be changed to <?php this is the correct way of starting php script.

To fix short tags open create .htaccess file in your public_html directory with content

php_value short_open_tag 1

Copy/pasted from old server, now php not working
No php interpretation since migration
Migration to new panel
What's trouble with PHP?
Copy/pasted from old server, now php not working
PHP.ini : short_open_tag DISABLED
Php setting enable
Problems with PHP scripts
Migration Discussion
Inserted add in echo "</div></html>" caused errors
Gallery requires short_open_tag to be on. Please enable it in your php.ini
Php help short-tags>?
PHP acting like HTML
Application error yclas
PHP not activated?
$_SESSION doesn't work
Php code don't work
Problema con php no despliega la variable