#18371 [Opn->Fbk]: --enable-discard-path breaks php-cgi

From: Date: Wed, 02 Oct 2002 01:38:55 +0000
Subject: #18371 [Opn->Fbk]: --enable-discard-path breaks php-cgi
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21187@lists.php.net to get a copy of this message
ID: 18371 Updated by: sniper@php.net Reported By: janus@area319.de -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: ALL PHP Version: 4.2.* New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-08-22 17:12:27] janus@area319.de For all Apache2-lovers: i've written a patch to suexec, so you can simply use the cgi-version of php outside the document_root and without having the same uid/gid like php has (especially nescessarry for vhosting). URL: http://janus.errornet.de/patches.x?d=apache2/ ------------------------------------------------------------------------ [2002-08-21 11:13:29] janus@area319.de So now i wrote a wrapper to fix the SCRRIPT_* variables, but i would be nice if PHP is recognising that itself and fixes that :) The URL: http://janus.errornet.de/scripts.x?f=fix_php.c ------------------------------------------------------------------------ [2002-08-20 11:03:48] janus@area319.de I forgot, since it isn't working with Apache1 too, its a generell issue i think. ------------------------------------------------------------------------ [2002-08-20 11:02:54] janus@area319.de There's still nothing working, so i reopen it... i gave feedback ;) ------------------------------------------------------------------------ [2002-08-20 09:35:45] janus@area319.de I've set up Apache 1.3.26 with php and suexec. php: ./configure --enable-force-cgi-redirect This works if it's configured as i said... but this one is wrong: _ENV["SCRIPT_NAME"] = /x-mod-httpd-php4/php ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18371 -- Edit this bug report at http://bugs.php.net/?id=18371&edit=1

« previous php.bugs (#21187) next »