PHP/Apache install issue.."blank" browser page dis
Posted: Mon Jun 14, 2004 9:18 am
Hello,
I've just started my AMP(Apache/MySQL/PHP) education on a Win XP machine about a week ago, and have run into a roadblock with the PHP/Apache install process that I hope someone can help me resolve ASAP so I can get on to learning PHP, etc. I've tried first installing AMP separately, then, using a couple different free install packages I've found on the net (the current one is Foxserv 3.0 @ http://www.foxserv.net/portal.php). I can get everything supposedly installed correctly, the Apache server & MySQL seem to run fine and I can access my Apache-served website from the internet and local machine, but when I try to open any PHP webpage I've created (just some "hello world"-types at present), in my browser (either IE or Netscape), the page is completely blank, and when I look at the source code, I only see
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2"></HEAD>
<BODY></BODY></HTML>
or if I use Netscape, just something like <html><body></body><html>.
***I don't see any of my .php code when I use View Source in the browser, but it is there when I open the .php file in a text editor.*** I found someome on the 'net that from what they said led me to believe that because I *don't* see my .php code, that means that it's being "passed" to the PHP interpreter, but what it looks like to me is happening is that the resulting output from PHP is not being passed back to the browser for display.
Can anyone help me fix this problem?? I've been dealing with it for days now, and am getting frustrated with PHP!!
Thanks.
I've just started my AMP(Apache/MySQL/PHP) education on a Win XP machine about a week ago, and have run into a roadblock with the PHP/Apache install process that I hope someone can help me resolve ASAP so I can get on to learning PHP, etc. I've tried first installing AMP separately, then, using a couple different free install packages I've found on the net (the current one is Foxserv 3.0 @ http://www.foxserv.net/portal.php). I can get everything supposedly installed correctly, the Apache server & MySQL seem to run fine and I can access my Apache-served website from the internet and local machine, but when I try to open any PHP webpage I've created (just some "hello world"-types at present), in my browser (either IE or Netscape), the page is completely blank, and when I look at the source code, I only see
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2"></HEAD>
<BODY></BODY></HTML>
or if I use Netscape, just something like <html><body></body><html>.
***I don't see any of my .php code when I use View Source in the browser, but it is there when I open the .php file in a text editor.*** I found someome on the 'net that from what they said led me to believe that because I *don't* see my .php code, that means that it's being "passed" to the PHP interpreter, but what it looks like to me is happening is that the resulting output from PHP is not being passed back to the browser for display.
Can anyone help me fix this problem?? I've been dealing with it for days now, and am getting frustrated with PHP!!