7destiny Posted November 30, 2010 Share Posted November 30, 2010 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! Quote Link to comment https://forums.phpfreaks.com/topic/220200-phpinfophp-returns-blank-page/ Share on other sites More sharing options...
requinix Posted November 30, 2010 Share Posted November 30, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/220200-phpinfophp-returns-blank-page/#findComment-1141222 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.