I will very much contradict you on this. Religion is absolutely not a philosophy.
No philosophy ever had immutable scripture that must be defended.
No philosophy ever had a hierarchical social structure with the aim of preserving the purity of that philosophy.
No philosopher ever sentenced other people to death for not complying to their philosophy.
Religion is a much more perverse disease.