From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 12:20:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A77C1065679 for ; Wed, 4 Jun 2008 12:20:09 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id 5828B8FC1E for ; Wed, 4 Jun 2008 12:20:09 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id EFF6978D73; Wed, 4 Jun 2008 14:20:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from nogrod.nicoelro.net (201.111.82-79.rev.gaoland.net [79.82.111.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 457DB78D00 for ; Wed, 4 Jun 2008 14:20:07 +0200 (CEST) Date: Wed, 4 Jun 2008 14:20:04 +0200 From: Nicolas Letellier To: FreeBSD Questions Message-ID: <20080604142004.15d83a57@nogrod.nicoelro.net> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-unknown-openbsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: use a specific php.ini for php cli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 12:20:09 -0000 Hello. I would like to know if it is possible to have another php.ini for php command line? I have a php.ini with many restrictions (open_basedir, disabled functions, etc...) used by apache (and mod_php). I would like to user another php.ini file for php command line (I don't want to have disabled functions or safe_mode for command line php). I use php5 in the port tree. Thanks for your informations. -- - Nicolas.