Skip to content

Commit

Permalink
Adjust apache2 config for PHP
Browse files Browse the repository at this point in the history
Change-Id: Ic7c7adfe3e6d6231dc5813854fec899514e28de9
  • Loading branch information
andi34 committed Oct 13, 2021
1 parent e4a560d commit f260b49
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example_files/httpd.conf
Expand Up @@ -282,7 +282,7 @@ DocumentRoot "${SRVROOT}/htdocs"
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
DirectoryIndex index.html index.php
</IfModule>

#
Expand Down Expand Up @@ -535,3 +535,9 @@ SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

LoadModule php7_module "C:/php/php7apache2_4.dll"
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

PHPIniDir "C:/php"

0 comments on commit f260b49

Please sign in to comment.