void-packages/srcpkgs/php8.2/files/apache.conf

14 lines
322 B
ApacheConf

# Required modules: dir_module, php8.2_module
<IfModule dir_module>
<IfModule php8.2_module>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</IfModule>
</IfModule>