To install Apache, PHP, and mod_ssl on Microsoft Windows, you can use the following steps:
httpd.conf) in a text editor.LoadModule php7_module "c:/php/php7apache2_4.dll"
Replace c:/php/ with the path to the PHP installation directory.
<FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch>
This will enable Apache to handle PHP files.
httpd.conf) in a text editor.LoadModule ssl_module modules/mod_ssl.so
This will enable mod_ssl in Apache.
net stop Apache2.4 net start Apache2.4
This will apply the changes to the Apache configuration.