PHP code is not being executed, instead code shows on the page
For php7.4 sudo a2enmod proxy_fcgi setenvif sudo a2enconf php7.4-fpm sudo service apache2 restart
For php7.4 sudo a2enmod proxy_fcgi setenvif sudo a2enconf php7.4-fpm sudo service apache2 restart
http://stackoverflow.com/questions/18236838/explain-htaccess-rules