Windows XP, Apache 2, PHP5 RC1
Hello,
A total newbie here. I can't seem to get Apache2 to load the php5
module. When I loaded up this html file in a browser, only the Today's
date: line prints on the page.
<html>
<head>
<title>Listin g 1-7</title>
</head>
<body>
Today's date:
<?php
/*
** print today's date
*/
print(Date("l F d, Y"));
?>
</body>
</html>
It looks like the PHP preprocessor is not loading. I have added these
lines to Apache's httpd.conf, then re-started Apache.
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php
How do I get this corrected? Any help will be appreciated!
gk
Hello,
A total newbie here. I can't seem to get Apache2 to load the php5
module. When I loaded up this html file in a browser, only the Today's
date: line prints on the page.
<html>
<head>
<title>Listin g 1-7</title>
</head>
<body>
Today's date:
<?php
/*
** print today's date
*/
print(Date("l F d, Y"));
?>
</body>
</html>
It looks like the PHP preprocessor is not loading. I have added these
lines to Apache's httpd.conf, then re-started Apache.
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php
How do I get this corrected? Any help will be appreciated!
gk
Comment