For a trial, I saved the following input in ..\apache\htdocs as suggested. 
 
<html>
<head>
<title>Today's Date</title>
</head>
<body>
<p>Today's Date (according to this web server) is
<?php
 echo( date('1, F ds Y.') );
?></p>
</body>
</html>
 
But this is the only thing I could see on my browser: "Today's Date (according to this 
web server) is"
 
After severeral trials and inspecting the httpd.conf configuration file, I tried the 
following input:
 
<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo "<p>Hello World</p?"; ?>
 </body>
</html>
 
This time nothing appeared on my browser. I'd really appreciate some help with this 
one.
 
I installed apache 1.3 as a server and it runs fine each time I click on "Start Apache 
in Console"
 
I'm mainly interested in using these facilities for my private learning so I chose to 
use PHP as a module in apache - I'm a newbie to this affair! So I hope this wasn't a 
wrong decision. Nevertheless, the follwing are the few lines I added to the 
httpd.conf. file:
 
#LoadModule php4_module c:/php/sapi/php4apache.dll 
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php .php3
#AddType application/x-httpd-php .phtml 
#AddType application/x-httpd-php-source .phps
#AddModule mod_php4.c
#<Directory "c:/Program Files/Apache Group/Apache/htdocs">
 
I'd appreciate to hear/read from anyone who has managed to solved this sort of problem 
before.
 
Thanks in advance
 
Ike
 


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Reply via email to