Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31920 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68709 invoked by uid 1010); 26 Aug 2007 22:57:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68694 invoked from network); 26 Aug 2007 22:57:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2007 22:57:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=nlgordon@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nlgordon@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nlgordon@gmail.com X-Host-Fingerprint: 64.233.162.226 nz-out-0506.google.com Received: from [64.233.162.226] ([64.233.162.226:22747] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/CA-13657-46502D64 for ; Sun, 26 Aug 2007 18:57:40 -0400 Received: by nz-out-0506.google.com with SMTP id x7so905357nzc for ; Sun, 26 Aug 2007 15:57:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y5jQHT5gZk8fxJ05ACUg+i7A25tEFzeJQYZdovDJwPPapwvQ0VkuChQN1KX1HYZSEGpIjhpDAUF8c8JQmhyts58HtBF2Ex17zXo7vnOzO0tjMF4JV22WAdoS9Ov/3CVbzn7d3dT0YbDacvh5HqYL1XMlrza7rjEswyfMNjCvmj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X2HeiKHkRtdjxf3tJqSOSqIqM/JfQjBAqLyNHgsSXOJ7yDgqCnca6HZtKIjLVbsCffReapY7bMTCaDZ4Es08qSnX3I3hTlAgdFxbJsK22A6n0RDEcVsB+6gcvG5ImUUW1UYZZ6sd/SUuKZuVW7kmNISPLObP2CBB+iAPnnezM8A= Received: by 10.142.105.14 with SMTP id d14mr484181wfc.1188169057516; Sun, 26 Aug 2007 15:57:37 -0700 (PDT) Received: by 10.143.43.14 with HTTP; Sun, 26 Aug 2007 15:57:37 -0700 (PDT) Message-ID: Date: Sun, 26 Aug 2007 17:57:37 -0500 To: internals@lists.php.net In-Reply-To: <36266.98.193.37.55.1188164291.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070826193146.GQ16782@arvo.suso.org> <36266.98.193.37.55.1188164291.squirrel@www.l-i-e.com> Subject: Re: [PHP-DEV] Safe mode being removed in PHP6? From: nlgordon@gmail.com ("Nate Gordon") On 8/26/07, Richard Lynch wrote: > > First make sure you understand what safe_mode does, and doesn't do, > and just how lame it is at what it tried to do, and fails to do, and > simply cannot do. I am all for the removal of safe mode in php. I use safe_mode now, but I patch it to effectively only do function disabling. My hosting setup is mixed between code I write, and code I host. So some of my virtual hosts are given full run of the server, while other hosts are limited to their little box. The disable_functions ini_setting would be able to accomplish this task perfectly, except that it is not per virtual host. If that was changed all my needs would be covered. I would look to more OS type solutions, but unfortunately I run everything off of AFS (read as non-standard unix fs with weird issues in "becoming" a different user per vhost). -- -Nathan Gordon If the database server goes down and there is no code to hear it, does it really go down? :wq