Brad Kowalczyk wrote:
Vadim Bendebury wrote:
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <php-install@lists.php.net>
Sent: Friday, March 17, 2006 11:44 PM
Subject: Re: [PHP-INSTALL] Q: apache 2.2 and php 5.1.2 don't interact
properly.
<?php is the recommended way to start a php script.
It very well might be (even though if we establish that files with
extension .php are php scripts - why bother with redundant information).
Because php allows you to embed raw html (or other text), so we need to
know where the php components of the 'php' file start and stop.
But the real problem IMHO is the unwarranted change in default
behavior - this is somewhat unprofessional if I may say so.
<?php has been the default for as long as I have been using PHP, about 3
years or so. AFAIK <? has always been the non-default shorthand tag.
By the way, there has been no change in default behaviour.
short_open_tags have been on forever and they are still on by default.
If short tags aren't working then it is either because you have:
short_open_tag = Off
in your php.ini file, or you compiled PHP using --disable-short-tags.
See your phpinfo page to figure out which is the case. Regardless, you
can't blame PHP for this one.
-Rasmus