Support » Fixing WordPress » How can I display my < ?php phpinfo();?>

  • Resolved Blog4Life


    I want to have a link on my blog site somewhere so I can click it to see the info whenever I want but haven’t figured out how yet.

    I have the php file sitting on the server but pulling it up in a browser just displays the < ?php phpinfo();?> code (I’m seperating the < ? on purpose of course).

    It runs fine if I add it to the index.php or something but obviously I don’t want to do that, I want it on a separate page. I tried adding a new WP Page and included the code also but it just displays the code, it doesn’t get ran.

    What easy step am I missing? TIA.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How can I display my < ?php phpinfo();?>’ is closed to new replies.