FreeBSD Bugzilla – Bug 116281
[Update] www/suphp to 0.6.2
Last modified: 2007-12-11 20:43:44 UTC
Update www/suphp to latest release (0.6.2).
Fix: Apply patch
Patch attached with submission follows:
Awaiting maintainers feedback
Needs verification; I'll work on doing that this Friday or Saturday.
Something wrong with PR or maintainer do not have enough time to
Im looking at this patch tonight. So far it doesnt work on Apache 2.2,
and I can see why. Ill provide a patch update for you to try that
should work on 2.0 and 2.2 (but I cannot test 2.0).
On Sun, Nov 11, 2007 at 08:20:04AM +0000, Vladimir Korkodinov wrote:
> What happens?
> Something wrong with PR or maintainer do not have enough time to
> approve PR.
I've worked quite a bit on this tonight. The patch you submit isn't
sufficient for Apache 2.2 boxes, plus it has other issues pertaining to
autotools, and needs some additional patches to allow some suPHP_*
directives to work outside of the VirtualHost scope.
Vladimir, can you try out the following tarball and tell me if it works
for you? I do not have an Apache 2.0 box to test on (we use Apache
2.2), but it works on our RELENG_7 + Apache 2.2 machines.
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
koitsu 2007-12-11 20:38:59 UTC
FreeBSD ports repository
www/suphp Makefile distinfo pkg-message pkg-plist
www/suphp/files patch-Makefile.in patch-configure
Upgrade to suPHP 0.6.2. This upgrade is quite major; it introduces
numerous features necessary for hosting, adds the use of a configuration
file (vs. compile-time settings) for configuration details, and is
presently supported by the software author.
Changes to httpd.conf are required for this to work, otherwise PHP
content is offered for download and not parsed. pkg-message contains
full migration details, but here's the simple version:
suPHP 0.5.2 suPHP 0.6.2
AddType application/x-httpd-php .php AddType x-httpd-php .php
AddHandler x-httpd-php .php suPHP_AddHandler x-httpd-php
Tested on RELENG_6 and RELENG_7, using Apache 2.0 and 2.2, with the
help of the PR submitter.
Testing for Apache 1.3 was not performed, thus the port requires the
use of 2.0 or later. suPHP 0.6.2 does support Apache 1.3, but I'll
need someone running 1.3 to work with me on fixing the port to support
it, if desired.
Submitted by: Vladimir Korkodinov <firstname.lastname@example.org>
Revision Changes Path
1.24 +32 -53 ports/www/suphp/Makefile
1.10 +3 -3 ports/www/suphp/distinfo
1.2 +0 -9 ports/www/suphp/files/patch-Makefile.in (dead)
1.1 +11 -0 ports/www/suphp/files/patch-acinclude.m4 (new)
1.4 +0 -11 ports/www/suphp/files/patch-configure (dead)
1.1 +30 -0 ports/www/suphp/files/patch-doc::suphp.conf-example (new)
1.2 +0 -11 ports/www/suphp/files/patch-src-suphp.c (dead)
1.4 +0 -62 ports/www/suphp/files/patch-src::Makefile.in (dead)
1.3 +12 -57 ports/www/suphp/files/patch-src::apache2::mod_suphp.c
1.2 +0 -13 ports/www/suphp/files/patch-src::apache::Makefile.in (dead)
1.3 +39 -4 ports/www/suphp/pkg-message
1.6 +9 -18 ports/www/suphp/pkg-plist
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
Committed, with major changes. Testing was performed by PR submitter.