[CentOS] CentOS 6 and PHP

Fri May 24 15:46:46 UTC 2013
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 24.05.2013 17:42, Glenn Eychaner wrote:
> Still upgrading CentOS 5 to CentOS 6, and have run into the next issue:
>
> When I install httpd and php, everything works great, and the default-test "<?php phpinfo(); ?>" works great.  The problem is that I have a bunch of old HTML that seems to use "<?" alone (or worse, "<!--?"), which worked in CentOS 5 but fails in CentOS 6.  I can change all the HTML, but is there an easier way?
>

In /etc/php.ini set:

short_open_tag = On

Regards,
   Dennis