PHPinfo not working for me
Posted: Tue Jul 14, 2009 3:50 pm
Hello,
I'm new, just starting to study and learn PHP ( I worked with mainframes for long,long,long time) and now I'm trying to get hold of PHP.
I installed Apache (last version) and php 5.
I wrote a small html to check the phpinfo
I added the <h2> tags display the message so I know that it the html has been processed correctly. It does display the
"<h2> tag content.
I'm not sure where to look, in PHP or in Apache configuration as my "remote" server resides in the same laptop as my local HTML and PHP.
Could anyone give me some additional information why the phpinfo is not working?
Thanks
I'm new, just starting to study and learn PHP ( I worked with mainframes for long,long,long time) and now I'm trying to get hold of PHP.
I installed Apache (last version) and php 5.
I wrote a small html to check the phpinfo
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>phpinfo</title>
</head>
<body>
<?php phpinfo(); ?>
<h2> php info to see if this stuff works</h2>
</body>
</html>
"<h2> tag content.
I'm not sure where to look, in PHP or in Apache configuration as my "remote" server resides in the same laptop as my local HTML and PHP.
Could anyone give me some additional information why the phpinfo is not working?
Thanks