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
https://forums.phpfreaks.com/topic/220200-phpinfophp-returns-blank-page/
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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.