Install apache by apt-get or need to compile it from source will it make any difference in Security ?
I think there is no difference when it comes to security unless you have a patch to apply (made by you or taken from someone else).
For better security, you can do other things like:
Of course, your requirements can greatly change what you can/should do.
There is one more point to add: In the case of installing a package from source, you can apply a patch to fix any bug as soon as it is discovered by the developers. However, you can't do it when installing a debian package (using apt-get) until the ubuntu guys release an update for it and this usually takes longer time.