Hello, I have been given the task of getting php to run correctly on our nt4 machine, I installed the newest exe from php.net ( file was PHP 4.2.1 installer ) after that I ran a phpinfo test and you can see that at That ran fine and seems that php runs great but any actual php script I try allways gives an error, these scripts are very simple just to test the server and they worked great on my redhat 7.2 machine running apache. Do you have any ideas what may be up here?
Once again I am running NT 4.0 and IIS 4.0, I do not have the option of changing eather of these.
Here is the code to a simple script I made just to test that won't work the actual page on my server for this is
<html>
<head>
<title>Using Comparison Operators</title>
</head>
<body>
<?
$a = 21;
$b = 15;
echo "<p>Original value of \$a is $a and \$b is $b</p>";
if ($a == $b) {
echo "<p>TEST 1: \$a equals \$b</p>";
} else {
echo "<p>TEST 1: \$a is not equal to \$b</p>";
}
if ($a != $b) {
echo "<p>TEST 2: \$a is not equal to \$b</p>";
} else {
echo "<p>TEST 2: \$a is equal to \$b</p>";
}
?>
</body>
</html>
Once again I am running NT 4.0 and IIS 4.0, I do not have the option of changing eather of these.
Here is the code to a simple script I made just to test that won't work the actual page on my server for this is
<html>
<head>
<title>Using Comparison Operators</title>
</head>
<body>
<?
$a = 21;
$b = 15;
echo "<p>Original value of \$a is $a and \$b is $b</p>";
if ($a == $b) {
echo "<p>TEST 1: \$a equals \$b</p>";
} else {
echo "<p>TEST 1: \$a is not equal to \$b</p>";
}
if ($a != $b) {
echo "<p>TEST 2: \$a is not equal to \$b</p>";
} else {
echo "<p>TEST 2: \$a is equal to \$b</p>";
}
?>
</body>
</html>