[Xitami] Php

Richard Donahue xitami@lists.xitami.org
Tue, 24 Jul 2001 17:31:37 -0500


<HTML><HEAD><TITLE>Today's Date</TITLE></HEAD><BODY><P>Today's Date
(according to this Web server) is<?php
  echo( date("l, F dS Y.") );
?></BODY></HTML>

-Rich


----- Original Message -----
From: "Matthew Daubenspeck" <mdaubenspeck@daubnet.tzo.com>
To: <xitami@lists.xitami.org>
Sent: Tuesday, July 24, 2001 4:44 PM
Subject: Re: [Xitami] Php


>
> What did you put in the test.php?
>
>
> At 04:35 PM 7/24/01 -0500, you wrote:
> >I tried:
> >.php = c:\php\php.exe
> >
> >and in my browser (IE5) I get a blank page with :
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> >
> >In Netscape I get "The document contained no data"
> >
> >SSI works as well as Perl on the server, but my testcgi script doesn't
work.
> >I get, "The page cannot be found"
> >
> >-Rich
> >
> >
> >----- Original Message -----
> >From: "Ewen McNeill" <ewen@imatix.com>
> >To: <xitami@lists.xitami.org>
> >Sent: Tuesday, July 24, 2001 4:10 PM
> >Subject: Re: [Xitami] Php
> >
> >
> > > In message <00aa01c11484$386eab20$0201a8c0@midco.net>, "Richard
Donahue"
> >writes:
> > > >PHP 4.0.6, Xitami 2.4c3 Pro and Windows NT 4 workstation.
> > > >In filters I have:
> > > >.php=c:/php
> > > >
> > > >In the php.ini I edited:
> > > >doc_root = c:\xitami\webpages
> > > >extension_dir = c:\php
> > > >
> > > >When trying to access a test php all I get is "The page cannot be
> >displayed"
> > >
> > > Check cgierr.log.
> > >
> > > I strongly suspect you don't actually have a c:\php _program_ for
Xitami
> > > to run (which is what you're telling it to run) and that's the
problem.
> > >
> > > You need to point the filter at the _program_ doing the filtering, not
> > > just a directory that might happen to contain it somewhere.
> > >
> > > Ewen
> > >
> > > --
> > > Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com
> > >
> > > --
> > > Xitami Users Mailing List -- For Xitami support
> > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > >
> >
> >
> >--
> >Xitami Users Mailing List -- For Xitami support
> >To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
> ____________________________________________
>
>    Matthew Daubenspeck
>    http://daubnet.tzo.com/weblog
>
>    "Hit any user to continue..."
> ____________________________________________
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami