Jump to content

Fresh Install Displays Funky Characters for <? tags


Recommended Posts

I recently finished installing php 5 to run on my apache server (2.13).

 

I was delighted when i got apache to recognize index.php as the default and got my first local hosted page displayed.

 

I have been using php on remote servers for a long while now and have never seen my problem, though I'm sure some of you have.

 

Whether I use short tags or full tags (<?,<?php) the problem occurs.

 

My web[page shows these charcters;



The code gets executed flawlessly aside from that, and the end tag makes no such characters.

 

Whats the deal?

 

 

Really Simple example;

<?php echo "Hello Forum"; ?>

Displays;

 Hello Forum

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.