my apache 2 server displays a blank page when i run this code
[php]<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>[/php]
I have php5 and apache 2 in my machine
But my HTML pages are running properly in my server and they display their contents.
when i run my php code alone
for example[php]
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>[/php]
This works great and all the information regarding php5 are displayed
Is the problem because am combining HTML and PHP in the wrong way or do i have to set anything before i could do that
Thanks