Php

Mark Musone mmusone at shatterit.com
Wed Aug 6 10:01:23 EDT 2003


No. short_open tags is by default on.
There is no discrouragement to using short open tags. In fact it's
encouraged. Short open tags is used more than any other method.

What distro/package/version are you using that you think it's off by
default?

-Mark



-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Robert Meyer
Sent: Wednesday, August 06, 2003 9:48 AM
To: nflug at nflug.org
Subject: RE: Php

Hmmm... That's not going to do anything unless 'short_open_tag' is on...
at
least in the newer PHP installations.  Better bit of code would be:
<?php phpinfo(); ?>

I've run into that one more than one time.  The default for the
'short_open_tag' is 'off' so I would guess that they're trying to
discourage
the use of '<?'.

Cheers!

Bob

--- Mark Musone <mmusone at shatterit.com> wrote:
> The easiest way is to simply make a test.php file,
> And in it put:
>  <? phpinfo() ?>
> 
> 
> Then load up that file from a web browser to your wbe servers (don’t
> just open up the file directly)
> 
> If that doesn't work, some other things to do is:
> 
> Do a locate of libphp4.so . It should be in the httpd/modules
> directory..
> This will tell you if you have the dynamicly loaded php module..
> 
> Run httpd -l to see if php is compiled statically into httpd.
> 
> 
> -Mark
> 
> 
> -----Original Message-----
> From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf
Of
> Ray Cherry
> Sent: Wednesday, August 06, 2003 2:48 AM
> To: nflug at nflug.org
> Subject: Php
> 
> Hey u Guys
> 
> how do I know if...php module is install on my apache
> 
> Ray S
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
>  
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
 





More information about the nflug mailing list