Jump to content

PHPinfo.php returns blank page!


Recommended Posts

Hi guys,

 

I am totally new to programming.. Was installing the wampserver.. I'm using windows, and I have a file called test.php inside the folder C:\wamp\www . Inside the test.php file, I have this code <?php phpinfo(); ?>

 

Then I opened the firefox browser and then entered the statement below but it returns a blank page. Is the url below right?

http://localhost/www/test.php

 

 

Am I doing the right thing? Tried using the search function but couldn't get it to work. Thanks!

Link to comment
Share on other sites

The URL is probably http://localhost/test.php, but then you should be getting a 404 error instead of a blank page.

 

And are you sure it's blank? Could it be that there is something but you can't see it? Cryptic, huh?

Do a View Source (check your window and right-click menus). Do you see PHP code? Something else?

Link to comment
Share on other sites

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.