Re: Re: Newby -- Browser won't run php
| From: | Mike Frazer | Date: | Fri, 01 Feb 2002 18:52:14 +0000 |
| Subject: | Re: Re: Newby -- Browser won't run php | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5899@lists.php.net to get a copy of this message | ||
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" <david.jay.jackson@wcox.com>
To: "Richard Hillström (GIS)" <Richard.Hillstrom@gis.ericsson.se>
Cc: "'Mike Frazer'" <mike@invertedmind.com>;
<php-install@lists.php.net>
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:mike@invertedmind.com]
> > Sent: Thursday, January 31, 2002 9:49 PM
> > To: php-install@lists.php.net
> > 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" <dcamp01@earthlink.net> wrote in message
> > news:20020131101321.62167.qmail@pb1.pair.com...
> > > 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: php-install-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-install-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-install-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>