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 .htaccess File

Moses Finlay
.a{fill-rule:evenodd;}techdegree seal-36
Moses Finlay
Full Stack JavaScript Techdegree Graduate 24,800 Points

The page shows HTTP ERROR 500

I just created an .htacess file with this error code

# PHP error handling for development servers

# display startup errors
php_flag display_startup_errors On

# display all other errors
php_flag display_errors On

# specify recording of all php errors
php_value error_reporting -1

# html markup of errors, make them easier to read
php_flag html_errors On

#log errors
php_value log_errors 1

but when view localhost page it only shows

The localhost page isn’t working

localhost is currently unable to handle this request.

can any of you tell me what I am doing wrong?