Grevorion
10-31-2005, 07:28 PM
Hey, there.
Trying to install PHP with Apache. Just recently started fiddling with PHP and in the book I have, the example of knowing that PHP is functional is by doing this:
<HTML>
<HEAD>
<TITLE>HEYA!</TITLE>
</HEAD>
<BODY>
<h1>Hello in PHP!</h1>
<?
print "Hello, world!";
phpInfo();
?>
</BODY>
</HTML>´
But the only output I get through my browser (using http://localhost etc.) is the HTML code only, the PHP program doesn't show at all. I am dumbfounded and was hoping that someone might know what's going on. Is it a setting I forgot to make? I have followed the instructions in the book and reviewed it over and over again, but no luck.
Thanks in advance.
Trying to install PHP with Apache. Just recently started fiddling with PHP and in the book I have, the example of knowing that PHP is functional is by doing this:
<HTML>
<HEAD>
<TITLE>HEYA!</TITLE>
</HEAD>
<BODY>
<h1>Hello in PHP!</h1>
<?
print "Hello, world!";
phpInfo();
?>
</BODY>
</HTML>´
But the only output I get through my browser (using http://localhost etc.) is the HTML code only, the PHP program doesn't show at all. I am dumbfounded and was hoping that someone might know what's going on. Is it a setting I forgot to make? I have followed the instructions in the book and reviewed it over and over again, but no luck.
Thanks in advance.