Some how the code isn't getting processed. Any ideas?
I've had no luck posting on previous Apache or PHP forums - no one has come up with the correct solution, and I can't believe the problem can be something overly complex. When I post on apache, they say ask in php. When I ask in php they say ask on apache.
Any help would be greatly appreciated. To help you along here are the lines from the Apache server that deal with php:
Code: Select all
#PHP Stuff
PHPIniDir "C:\PHP\"
LoadModule php5_module "C:\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
Action application/x-httpd-php "c:\PHP\php.exe"And here is the sample HTML code that doesn't run:
Code: Select all
<html>
<head>
<title>PHP Test 2</title>
</head>
<body>
<p>Testing php...</p>
<p>
<?php
$a = 50;
$b = 75;
$c = $a + $b;
echo $c;
?>
</p>
<p>
</body>
</html>