It really depends on why you wanted to use the latest version in the first place. In the case of a product like Apache, the version that is available via the official repository will continue to get security updates during its life cycle, so that is not a reason to install the very latest version.
I would always advise using officially packaged versions of software - either from Ubuntu or direct from the vendor if they have their own repository, unless you have a very good reason not to such as a new feature you cannot live without. Not only will it save you a lot of effort, but also you are also more likely to keep your production server up to date with security updates because they will be made available for easy installation via
It is normally preferable to use the same version of the software for development as you are using for production to avoid compatibility issues; you could read the new features list to see if there are any changes that might affect you, but sometimes it is only possible to find out the hard way by testing.