开发者

PHPinfo returns blank page

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 be开发者_如何学Golow 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!


Your URL should be http://localhost/test.php

The "www" folder is your DocumentRoot folder by default. The URL http://localhost/ will point to that folder. Everything after that works like a normal document path.


A blank page means that an error occurred before output began, and you have error display disabled. Check your web server error log.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜