Re: Q: apache 2.2 and php 5.1.2 don't interact properly.
| From: | Rasmus Lerdorf | Date: | Sun, 19 Mar 2006 05:10:49 +0000 |
| Subject: | Re: Q: apache 2.2 and php 5.1.2 don't interact properly. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17207@lists.php.net to get a copy of this message | ||
Brad Kowalczyk wrote:
Vadim Bendebury wrote: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----- Original Message ----- From: <php@karsites.net> 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.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.<?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).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.