From 759a83bf96be34c59b1e64d913acd2e4334fc77f Mon Sep 17 00:00:00 2001 From: Jeremy Chadwick Date: Sat, 15 Dec 2007 15:35:53 +0000 Subject: [PATCH] Entry describing recent changes to www/suphp, which solicits the need for some Apache httpd.conf modifications. --- UPDATING | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/UPDATING b/UPDATING index 6567aed124f2..ec138973dfda 100644 --- a/UPDATING +++ b/UPDATING @@ -6,6 +6,36 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20071215: + AFFECTS: users of www/suphp + AUTHOR: koitsu@FreeBSD.org + + The suPHP port has been upgraded to 0.6.2. This update requires + modifications to your Apache httpd.conf, as the new version of suPHP does + things differently than the previous version -- particularly in regards + to how AddHandler is used. + + Previously, enabling suPHP was as simple as: + + suPHP_Engine on + AddType application/x-httpd-php .php + AddHandler x-httpd-php .php + + With suPHP 0.6.2, these should be changed to: + + suPHP_Engine on + AddType application/x-httpd-php .php + suPHP_AddHandler application/x-httpd-php + + If you forget this change, your PHP content will likely be offered as + downloadable content and not parsed by the PHP interpreter! + + Additionally, the new version uses a configuration file vs. compile-time + settings. The configuration file is /usr/local/etc/suphp.conf, and a + working example installed as /usr/local/etc/suphp.conf-example. It's + important that the MIME type under the [handlers] section matches what + the type passed to suPHP_AddHandler in your Apache configuration. + 20071101: AFFECTS: users of x11/nvidia-driver AUTHOR: danfe@FreeBSD.org