Jump to content

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/171362-new-php-setup-giving-me-grief/
Share on other sites

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

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.