guitarrick40 Posted April 17, 2008 Share Posted April 17, 2008 Hello. I'm a newbie and am trying to learn the AMP trio. Right now, I'm using a php5 manual. I have Apache 2 running successfully. I have written (copied) small program in PHP to test from the browser. I keep getting a blank page. When I view source I can see the code. (IE 7). In Firefox, the source code prints as the page. The test file is in my root Apache directory. Here is the simple code which I've tried several tweeks to no avail: <HTML> <HEAD> <TITLE>PHP Testing</TITLE> </HEAD> <BODY> <?php print "If this works, we <i>really</i> did it"; phpInfo(); php ?> </BODY> </HTML> Thank you very much for any and all help RG Link to comment https://forums.phpfreaks.com/topic/101491-getting-php-to-print-a-page/ Share on other sites More sharing options...
benphp Posted April 17, 2008 Share Posted April 17, 2008 It sounds like your php installation isn't correct. Link to comment https://forums.phpfreaks.com/topic/101491-getting-php-to-print-a-page/#findComment-519136 Share on other sites More sharing options...
jonsjava Posted April 17, 2008 Share Posted April 17, 2008 I agree. I recommend you download ApacheFriends Xampp. It's free, and easy to install Link to comment https://forums.phpfreaks.com/topic/101491-getting-php-to-print-a-page/#findComment-519139 Share on other sites More sharing options...
guitarrick40 Posted April 17, 2008 Author Share Posted April 17, 2008 Thank you. So this 'friends' will be easier than re-installing my PHP? Link to comment https://forums.phpfreaks.com/topic/101491-getting-php-to-print-a-page/#findComment-519155 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.