configure apache for php 7 code example
Example 1: apache2 loadmodule php windows
AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php .html
LoadModule php7_module "C:/php7/php7apache2_4.dll"
PHPiniDir "c:/php7"
Example 2: configure apache in ubuntu
service apache2 reload
Example 3: php configuration in apache server 2.4
LoadModule php7_module modules/php7apache2_4.dll