Date: Tue, 21 May 2002 05:57:08 -0700 (PDT) From: Laurent Frigault <lfrigault@teaser.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/38375: The port lang./php4 can't be used as CGI Message-ID: <200205211257.g4LCv81k099324@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 38375 >Category: ports >Synopsis: The port lang./php4 can't be used as CGI >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 21 06:00:07 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Laurent Frigault >Release: 4.5 STABLE >Organization: France Teaser >Environment: FreeBSD becile.teaser.fr 4.5-STABLE FreeBSD 4.5-STABLE #5: Wed May 8 16:10:26 CEST 2002 lfrigault@becile.teaser.fr:/usr/src/sys/compile/BECILE i386 >Description: The port lang/php4 is broken and can't be used as CGI. /usr/ports/www/mod_php4/Makefile adds --enable-discard-path to CONFIGURE_ARGS in STANDALONE mode and this option seems actually broken in PHP (4.2.1) >How-To-Repeat: 1/ install the port without (or with) any option 2/ copy or link /usr/local/bin/php to /usr/local/www/cgi-bin/php 3/ install apache with Action php-script /cgi-bin/php AddHandler php-script .php 4/ put a foo.php file in the document root and try to access the URL via some browser ==> You'll get a php parse error >Fix: remove this option in /usr/ports/www/mod_php4/Makefile or add /usr/ports/www/mod_php4/Makefile.local with .if defined(STANDALONE) CONFIGURE_ARGS+=--disable-discard-path .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205211257.g4LCv81k099324>