Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP The php.ini File

http://localhost/phpinfo.php - Blank page

When i type "http://localhost/phpinfo.php" in my browser it doesn't happen anything, just blank page appears.

2 Answers

Cindy Lea
Cindy Lea
Courses Plus Student 6,497 Points

I believe you need something like: /path/to/file.ext

See http://php.net/manual/en/wrappers.file.php for more examples.

Hi Mihailo!

It seems like in this phpinfo.php file should be something like this:


Enter code above to your file, save it, and run it in your web browser.