Dont know if here is a right place to post here,anyway…
It happened to me install FreePBX 2.2.1 on PHP 5.2.1 .
I know that PHP5 it not yet supported.
There is problem in /admin/header.php because of mixed PHP & HTML.
Here is screenshot of how it looked before.
And here is corrected header.php . I just deleted some “<”,that is all.