[Xitami] re: PHP & xitami
xitami@lists.xitami.org
xitami@lists.xitami.org
Thu, 28 Mar 2002 12:04:31 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C1D672.3EE5FC00
Content-Type: text/plain;
charset="iso-8859-1"
I am including my default.cfg
Xitami uses two files xitami.cfg for main configuration and any differences
will go into the default.cfg
I think the reason is that you can create multiple configurations without
copying the whole thing.
make sure php is working. Go to your command line and type
php -v
that should show you the version.
That should be it.
All you need then is go to your /xitami/webpages directory
and put your test.php file(remember to put .php)
-----Original Message-----
From: Johnson, Nathan J [mailto:nathan.j.johnson@lmco.com]
Sent: Thursday, March 28, 2002 11:28 AM
To: xitami@lists.xitami.org
Subject: [Xitami] re: PHP & xitami
Hello all,
Looking for someone who knows the basic steps for setting up PHP with
Xitami.
Thanks.
So far all I've done is add this defaults.cfg
[Filter]
.php="c:\php\php.exe"
This is the file I'm using to test:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
~Nate
Nathan J. Johnson
Lockheed Martin NE&SS - Undersea Systems
nathan.j.johnson@lmco.com
315-456-1737
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
------_=_NextPart_000_01C1D672.3EE5FC00
Content-Type: application/octet-stream;
name="defaults.cfg"
Content-Disposition: attachment;
filename="defaults.cfg"
#*END
[Accesslog]
Format=""
[Errorlog]
Format=""
[Filter]
.php=c:\php\php.exe
[Ftp]
Enabled=0
[Security]
Dirlist=0
[Server]
Default2=index.php
Default3=default.htm
------_=_NextPart_000_01C1D672.3EE5FC00--