Welcome to PHPBuilder! When posting PHP code, please use the board's [noparse]
..
[/noparse] bbcode tags as they make your code much easier to read and analyze. Also note that I've moved your posts into their own thread since your issue has nothing to do with the installation (or configuration) of PHP.
As for your issue, note that the output is not what you suggested above. The output is actually going to be:
5<br> 5<br> 5<br> 5<br>
Note that you won't see the increasing spaces because repeated whitespace is ignored by your browser when it renders the HTML source code.
If you want to use padding to increase the space, you'll want to insert a "non-breaking space" such as by using the HTML entity " " rather than a regular space.