Hi
I am having problems running a PHP script. I used kevin yanks guide to mysql and PHP to get this far.
So far under a win32 platform I have installed
mysql to c:\mysql
php to c:\php
apache to c:\program files\apache
I did all of the suggested setup configuration according to his article
http://www.webmasterbase.com/article.php?pid=0&aid=525
He give a sample script to use "today.php.txt"
Here it is:
<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.") );
?></p>
</body>
</html>
I saved it as "today.php.txt" to this directory:
C:\Program Files\Apache Group\Apache\htdocs
but when I attempt to access the file via IE5.5 using
http://localhost/today.php
The date portion of the code will not display in browser, although the text will ie.("Today's Date (according to this Web server) is")
So I assume the script is not being handled. Can someone please help me resolve this.
Thanks,
Andrew
P.S.
When starting the apache server v1.3.23 the console give indication that PHP 4.1.1 is running as well.





Bookmarks