Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Sorry for the bone head Q. but I rarely need to reinstall my server :)

I wish to enable phpinfo() function. My php.ini config file has the disable_functions directive blank--which I understand is the way to turn this feature off.

Except this directive in my php.ini config is blank. Other php files are being served properly. What gives?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Are you using proper tags (<?php instead of <?)?

What happens if you put display_errors(E_ALL); in the beginning of the file?

share|improve this answer
    
I'm stupid. The first one... I never use this shortened syntax; however, I also super-rarely edit the config file. Thus the same file worked for the last install, but not the new. –  xtian Jul 27 '11 at 12:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.