I have a computer with Windows XP professional but no IIS.
I downloaded Apache Server 2.2 and Php..
Configuring the httpd to use LoadModule did not work. It kept saying 
the file was not found.
I added the code.

ScriptAlias /php/ "c:/program files/php/"
AddType application/x-httpd-php .php 
Action application/x-httpd-php "/php/php.exe"
<Directory "C:/Program Files/php/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

Apache started and I can read a html file from LocalHost but php code 
does not run.
<HTML>
<BODY>
<?php print('Hello world!\n'): ?>
</BODY>
</HTML>

Reply via email to