Step 1: The best way to do this is disable it with webserver apache2. In my Ubuntu 14.X - open /etc/apache2/apache2.conf change from
Sample
<Directory /var/www/> OptionsIndexesFollowSymLinks AllowOverride None Require all granted </Directory>
to
<Directory /var/www/>Options FollowSymLinksAllowOverride None Require all granted </Directory>