Brian Stempin on 30 Mar 2007 12:56:11 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Help with Apache PHP

  • From: "Brian Stempin" <brian.stempin@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] Help with Apache PHP
  • Date: Fri, 30 Mar 2007 08:56:06 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=r31fl+Nx4QaIOcQaKahvYtMiTxuU0bNAZhC+Od0hVayit85F0Okqt+nTTlAyA76JAxyaUpPj97NFgaYZpnTbExFwJ0j2XSpy/81kumDoinhe4YhXpsny9+fPIUuGFXSyjQOk1ObdIIvsRKuGfyKKn7xn4lR7f7BupVdSiRA7B4o=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

True.  I was just trying to emphasize that 'php' was missing from the original post.

On 3/30/07, gyoza@comcast.net <gyoza@comcast.net> wrote:
It doesn't have to be.  I've always used lower case.  The line breaks
aren't necessary either.  That would make it more awkward to embed
commands within strings of text or HTML.

Brian Stempin wrote:
> it should be:
>
> <?PHP
> phpinfo();
> ?>
>
> On 3/30/07, *gyoza@comcast.net <mailto:gyoza@comcast.net>*
> <gyoza@comcast.net <mailto:gyoza@comcast.net>> wrote:
>
>     Name the file test.php.  It isn't necessary to have anything but <?php
>     phpinfo(); ?> in your file.  Otherwise, maybe two headers are
>     being sent?
>
>
>     Doug Crompton wrote:
>     > I have been running Apache for over 10 years and believe it or
>     not have
>     > never used PHP. I was trying to test it and I cannot seem to get
>     it to
>     > work. As far as I know the PHP modules is loading. I had some
>     library
>     > issues because I moved some X11 libs (I do not use X11 on this
>     system) but
>     > I solved that and Apache loads and runs fine.
>     >
>     > Should I not be able to create the following....
>     >
>     > <html>
>     > <head>
>     > </head>
>     > <body>
>     >
>     > <?
>     > phpinfo();
>     > ?>
>     >
>     > </body>
>     > </html>
>     >
>     > and save it as test.html on my server and see the results if it is
>     > working?
>     >
>     > When I execute this I just get a blank page. No errors.
>     >
>     > Doug
>     >
>     >
>     > ****************************
>     > *  Doug Crompton         *
>     > *  Richboro, PA 18954    *
>     > *  215-431-6307                  *
>     > *                        *
>     > * doug@crompton.com <mailto:doug@crompton.com>        *
>     > * http://www.crompton.com  *
>     > ****************************
>     >
>     >
>     >
>     ___________________________________________________________________________
>
>     > Philadelphia Linux Users Group
>     --        http://www.phillylinux.org
>     > Announcements -
>     http://lists.phillylinux.org/mailman/listinfo/plug-announce
>     <http://lists.phillylinux.org/mailman/listinfo/plug-announce>
>     > General Discussion  --
>     http://lists.phillylinux.org/mailman/listinfo/plug
>     >
>     >
>     > ---
>     > avast! Antivirus: Inbound message clean.
>     > Virus Database (VPS): 000728-3, 03/29/2007
>     > Tested on: 3/30/2007 8:01:14 AM
>     > avast! - copyright (c) 1988-2007 ALWIL Software.
>     > http://www.avast.com
>     >
>     >
>     >
>     >
>     >
>     ___________________________________________________________________________
>     Philadelphia Linux Users Group
>     --        http://www.phillylinux.org <http://www.phillylinux.org>
>     Announcements -
>     http://lists.phillylinux.org/mailman/listinfo/plug-announce
>     General Discussion  --
>     http://lists.phillylinux.org/mailman/listinfo/plug
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
> ------------------------------------------------------------------------
>
>
>
> ---
> avast! Antivirus: Inbound message clean.
> Virus Database (VPS): 000728-3, 03/29/2007
> Tested on: 3/30/2007 8:45:43 AM
> avast! - copyright (c) 1988-2007 ALWIL Software.
> http://www.avast.com
>
>
>
>
>
___________________________________________________________________________
Philadelphia Linux Users Group         --         http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug