Is it possible to add support for multiple "extensions directory" ?

From: Date: Mon, 31 Mar 2008 20:56:09 +0000
Subject: Is it possible to add support for multiple "extensions directory" ?
Groups: php.internals 
Request: Send a blank email to internals+get-36728@lists.php.net to get a copy of this message
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

« previous php.internals (#36728) next »