[Xitami] Installing PHP4 with Win 98SE & Xitami v2.4d9

Alan Lam xitami@lists.xitami.org
Thu, 14 Feb 2002 13:04:25 +0000


In article <200202132315.MAA28673@pagoda.in.naos.co.nz>, Ewen McNeill
<ewen@imatix.com> writes
>In message <mVRXm+AhBva8EwNy@alan-lam.co.uk>, Alan Lam writes:
>>The filter in xitami .php points to f:\internet\php
>>
>>But when I load a test page in c:\my documents\alan\html\alan-lam\phptest.html
>
>If you call your document ".html" and tell Xitami only to pass ".php"
>documents to PHP, then your document won't be passed to PHP :-)
>
>Try renaming it to have a ".php" extension.

Thanks for your suggestion

I renamed the document to phptest.php

It came up blank. (using IE5.5)

The source which was



<html><head><title>PHP Test</title></head> 
<body> 
<?php echo "Hello World<P>"; ?> 
</body></html> 



when viewed had become



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-
1252"></HEAD>
<BODY></BODY></HTML>




Any ideas on what to do next.

Thanks
-- 
Alan YC Lam  Tonbridge, Kent, UK
email        kinesiology@alan-lam.co.uk
www          http://www.alan-lam.co.uk