Hi,
I just installed (i think) php on my apache2 webserver.
I added to http.conf:

# PHP 5 beta 4
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

And put php.ini in c:\program files\....\apache2 with:
extension_dir = "c:\php\ext"

When I try the following html:
<html>
   <head>
       <title>Examples</title>
   </head>
   <body>
       <?php
       echo ("Hi, I'm a PHP script!");
       ?>
   </body>
</html>

And open http://localhost

I see the title: "Examples"
but no message with " Hi, I'am a PHP script!".

What could be wrong?

Martin

Reply via email to