While I admit I forgot the semicolon, do note that PHP allows three
different opening delimiters:

<?php - Usage required by PEAR
<? - Usage allowed if you aren't contributing to PEAR, which I'm betting
something containing a call to phpinfo() would *not* be doing :)
<% - ASP-style opening delimiter.  Of course, this one has a matching %>
just so that we can feel complete.

In the future, I'm sure the folks at php.net would prefer we keep talk on
this list to install questions, which I was initially helping with, not
syntactical questions, which belong on php.general.  You can find me there
daily, helping the masses as best I can.

Mike Frazer



----- Original Message -----
From: "David Jackson" <[EMAIL PROTECTED]>
To: "Richard Hillström (GIS)" <[EMAIL PROTECTED]>
Cc: "'Mike Frazer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 6:02 AM
Subject: Re: [PHP-INST] Re: Newby -- Browser won't run php


> Your could of course put it on one line:
> <?php phpinfo(); ?>
>
> Richard Hillström (GIS) wrote:
> >
> > Hi,
> > It should be
> > <?php
> > phpinfo();
> > ?>
> >
> > Best Regards
> >
> > Richard Hillström
> >
> > -----Original Message-----
> > From: Mike Frazer [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 31, 2002 9:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Re: Newby -- Browser won't run php
> >
> > Are you looking for <? phpinfo() ?> rather than <? phpinfo.php ?>?
> >
> > Also, make absolutely certain you have the correct line in your
httpd.conf.
> > It varies depending on whether you installed the dynamic or the static
> > module.  Check the INSTALL file for details.
> >
> > Mike Frazer
> >
> > "Dan Campbell" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> > > Everything seems to have been installed fine, without a hitch, but I
still
> > > can't get my browser to recognise a php page called phpinfo.php with
the
> > > following script <? phpinfo.php ?> like it should.
> > > all the configure , make , and make files directives seemed to work
fine.
> > > it's been a week I've been working on this, a real nightmare. I got it
> > > running once a while back, it seemed so much easier somehow, but now
it's
> > > like impossible with PHP4 .
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to