Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Sep 2015 11:15:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202867] mod_php* packages should provide .conf files to ease set up of apache
Message-ID:  <bug-202867-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202867

            Bug ID: 202867
           Summary: mod_php* packages should provide .conf files to ease
                    set up of apache
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rwe+freebsd@buzzard.freeserve.co.uk

The apache configuration system is pretty modular and management of upgrades is
considerably eased if most of the configuration is (semi-)automatic.

In particular, the mod_php* packages could be installed without requiring any
edits to httpd.conf if the packages came with .conf files for the modules and
the Includes directories; administrators simply create symlinks to these files
and the server is now configured.  Example contents would be:

etc/apache24/modules.d/<nnn>-mod_php.conf:
LoadModule php5_module        libexec/apache24/libphp5.so

etc/apache24/Includes/mod_php.conf:
IfModule php5_module>
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
</IfModule>

Alternatively the files could be installed directly into the apache
configuration directories then all that is needed is a simple restart.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202867-13>