Not really, what you did was enable the PHP5 module in Apache2 which is not enabled by default for various reasons (like you might not want to have PHP5 as a module but rather as FPM etc.)
Check a2enmod without any parameters to see what it really does and what parameters it accepts (in short: it modifies /etc/sysconfig/apache2 APACHE_MODULES line )