From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 09:51:51 2011 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 557B81065670 for ; Fri, 28 Jan 2011 09:51:51 +0000 (UTC) (envelope-from slackmails@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 14A5D8FC13 for ; Fri, 28 Jan 2011 09:51:50 +0000 (UTC) Received: by gxk8 with SMTP id 8so1068299gxk.13 for ; Fri, 28 Jan 2011 01:51:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=aSw5gK3mfGRk3bZ44fZlmnrcLtlU4f4gMbfVi8qGii4=; b=Mzn63nSgdStx6xLC9CKqolkJBEIyMCTUGMXCyLSe2CIqDEqX3fSDNXiNHIMvSurKra XhqN2UadzbJqWBjvlDamQngmFddYJ4fvJ+EhevdGpUIPOJnPaJEXqXksVGrtflj1EkIj 0rFTEHn+VaO00jGDD7upDeaASvuQErn4lm1BQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ELpJsxNilZVt+pq9dgW9Wo8s9rKXkZYbWyL/IMfvH7H7gfiMUFcO+2ASWCKv0SgE9n RVsq9xmazFecLAJD3yLjkHyQRnBtvyDvy/AipT02V+swFZo4LbWka/TC8y2lP4+t6/aw 6CoWIxZqdJK0+NU4A5eMvzXWMa1W8tczgY210= MIME-Version: 1.0 Received: by 10.91.26.24 with SMTP id d24mr4446953agj.160.1296206550269; Fri, 28 Jan 2011 01:22:30 -0800 (PST) Received: by 10.90.197.6 with HTTP; Fri, 28 Jan 2011 01:22:30 -0800 (PST) Date: Fri, 28 Jan 2011 09:22:30 +0000 Message-ID: From: Jerrin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Custom php.ini file not working 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: Fri, 28 Jan 2011 09:51:51 -0000 Hi, i have a freebsd 7.3 server running apache2. php is configured to work with the apache fcgid module. i need to have a custom php.ini file for some websites,the fcgidwrapper script that i use is like this #!/bin/sh PHPRC=/usr/home/somefolder export PHPRC PHP_FCGI_CHILDREN=0 export PHP_FCGI_CHILDREN export PHP_FCGI_MAX_REQUESTS=40 #export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi a custom php.ini file is here /home/somefolder/php.ini the phpinfo page shows the Loaded Configuration File as /usr/home/somefolder/php.ini Configuration File (php.ini) Path /usr/local/etc Loaded Configuration File /usr/home/somefolder/php.ini Scan this dir for additional .ini files /usr/local/etc/php but the changes made in the /usr/home/somefolder/php.ini doesn't shows up on the phpinfo page. changes made to /usr/local/etc/php.ini also won't show up. only the changes made to the php.ini file in /usr/local/etc/php/php.ini is working. Thank you Rihaz