# The mod_php.so symlink is controlled by # eselect-php. However, the module name changed from # php5_module to php7_module so we can't blindly load whatever # is there. Instead we let eselect-php manage a small # configuration file that loads the appropriate module. Include "@LOCALSTATEDIR@/lib/eselect-php/mod_php.conf" # Tell apache that mod_php should handle PHP files. # # NOTE: Avoiding AddHandler/AddType for security (bug # #538822). Please read the related news item! SetHandler application/x-httpd-php # PHP source files which are meant to be displayed as # syntax-highlighted source code. SetHandler application/x-httpd-php-source DirectoryIndex index.php index.phtml