gyoza on 30 Mar 2007 12:48:09 -0000


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

Re: [PLUG] Help with Apache PHP


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