I just installed php.5.1.2 on ubuntu server.
I tried to run simple test:
<? phpinfo() ?>
it displayed the information but, also display the html tags:
</table><br /> <h2>PHP License</h2> <table border="0" cellpadding="3" width="600"> <tr class="v"><td> <p> This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE </p> <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. </p> <p>If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact email@example.com. </p> </td></tr> </table><br /> </div></body></html>
I compiled from source. I did not find a good way to remove it.
Can someone tell me what's wrong?