Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16887 invoked from network); 31 Mar 2008 20:57:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 20:57:40 -0000 Authentication-Results: pb1.pair.com header.from=Sriram.Natarajan@Sun.COM; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=Sriram.Natarajan@Sun.COM; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain Sun.COM from 192.18.98.43 cause and error) X-PHP-List-Original-Sender: Sriram.Natarajan@Sun.COM X-Host-Fingerprint: 192.18.98.43 brmea-mail-2.Sun.COM Solaris 9 Received: from [192.18.98.43] ([192.18.98.43:39210] helo=brmea-mail-2.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/68-13176-34051F74 for ; Mon, 31 Mar 2008 15:57:40 -0500 Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m2VKvbSV026369 for ; Mon, 31 Mar 2008 20:57:37 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JYM00L012KLM900@mail-amer.sun.com> (original mail from Sriram.Natarajan@Sun.COM) for internals@lists.php.net; Mon, 31 Mar 2008 14:57:37 -0600 (MDT) Received: from [192.18.120.213] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JYM007DZ4VR63G0@mail-amer.sun.com> for internals@lists.php.net; Mon, 31 Mar 2008 14:57:27 -0600 (MDT) Date: Mon, 31 Mar 2008 13:56:09 -0700 Sender: Sriram.Natarajan@Sun.COM To: internals@lists.php.net Message-ID: <47F14FE9.4090300@Sun.COM> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_J+LPe69VBohuXedTIeWeTw)" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) Subject: Is it possible to add support for multiple "extensions directory" ? From: Sriram.Natarajan@Sun.COM (Sriram Natarajan) --Boundary_(ID_J+LPe69VBohuXedTIeWeTw) Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Hi I am currently involved within Open Solaris community and for the first time we have recently integrated PHP core runtime as part of base OS. Currently, I am working on improving the PHP experience and performance within Open Solaris. In this regard to fit more with Solaris file layout traditions, we would like to keep the core PHP modules under /usr/php5/modules and the user specific downloaded PECL/PEAR modules under /var/php5/modules. However, if I am not mistaken, PHP core doesn't support loading PHP modules from more than one location. So, I was wondering if this feature can be considered within PHP core ? For example, within PHP.ini , a user can more provide more than 1 location to look for PHP extensions extension_dir=/usr/php5/modules;/var/php5/modules so that PHP engine , at the time of startup , can look for the modules in more than 1 location. Does this sound reasonable to you or is there a better way to do this thanks in advance Sriram --Boundary_(ID_J+LPe69VBohuXedTIeWeTw)--