[Xitami] Can't get PHP to run (despite reading Xitami-FAQ)
urras
xitami@lists.xitami.org
Sun, 12 Aug 2001 14:46:08 +0200
Hi there!
I have just installed Xitami 2.5b4 and then PHP 4.0.6 on a Windows 98
SE system, yet I can't get PHP to run from inside my browser (MS IE
5). When I run PHP manually in the DOS command window, everything
works fine. What could be wrong? I followed all the instructions in
the Xitami-FAQ ("I can't get PHP to run with Xitami!") but that didn't
help.
Here's the script I used for testing purposes:
<html>
<head>
<title>Testpage</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<?php print "Hello"; ?>
</body>
</html>
I stored this file in c:\xitami\webpages as php.htm
Then I opened the DOS window, went to the Xitami-Directory and
entered:
c:\php\php webpages\php.htm
This worked fine. Each line of the HTML-Code was printed on-screen
while the PHP-code was carried out correctly (so that instead of the
PHP-line I just got the result: Hello).
But when entering the URL http://localhost/php.htm in my browser I
just got a blank page as a result.
I've absolutely no idea what could have gone wrong. Can someone please
help me?
Greetings,
Robert