venturemc Posted August 22, 2009 Share Posted August 22, 2009 Sorry for the very basic question - I'm sure it's been asked before, but I wasn't able to find anything after a good amount of time searching. ME: Brand new to PHP and associated products. Experienced programmer with a background in HTML (several years ago) and a tiny bit of experience in server side concepts. Products: Windows XP home with SP3 (brand new machine) Installed using the XAMPP 1.7.2 install tool: Apache Serve software 2.2.12 PHP 5.3.0 MySql 5.1.37 After a few mishaps, I got all the software installed. When I go to my localhost directory, the XAMPP tools are displayed via a php script: I believe this means that PHP is working, at least at some level. When I do a simple test page, all I get is a blank browser. The simple test is: <html> <? phpinfo(); ?> </html> I've tried setting up this page as the index and also called it from the existing index page (inserting it for the page that the original index file calls), and all I get is emptiness. Any ideas what I need to check for? Thanks much! Quote Link to comment https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/ Share on other sites More sharing options...
trq Posted August 22, 2009 Share Posted August 22, 2009 Are you placing this index.php file within your apache document root? Quote Link to comment https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/#findComment-903708 Share on other sites More sharing options...
venturemc Posted August 22, 2009 Author Share Posted August 22, 2009 I'm putting it in the "htdocs" folder which is where the original index page is. Quote Link to comment https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/#findComment-903730 Share on other sites More sharing options...
PFMaBiSmAd Posted August 22, 2009 Share Posted August 22, 2009 What does a "view source" in your browser of the blank page show? If it shows the complete contents of the .php file, read the following thread so that you won't waste any more of your life due to short open tags - http://www.phpfreaks.com/forums/index.php/topic,265995.0.html Quote Link to comment https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/#findComment-903738 Share on other sites More sharing options...
venturemc Posted August 22, 2009 Author Share Posted August 22, 2009 thanks much! I knew it was something stupid like that so being a newb to php, is that a browser issue or a php version issue or php/apache issue? I guess what I'm looking for with that question is what I need to look for when going through my excersizes and know what to adjust. my code was straight out of a book as an example for a quick php test. Quote Link to comment https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/#findComment-903744 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.