[PECL-BUG] Bug #22570 [Opn]: changing extensions' install directory failed
[email protected] ("michole06 at sina dot com") 26 Feb 2011 09:20:23 -0000
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
Edit report at http://pecl.php.net/bugs/bug.php?id=22570&edit=1 ID: 22570 User updated by: michole06 at sina dot com Reported By: michole06 at sina dot com Status: Open Id: 22570 Type: Bug -Package: perl +Package: Documentation Operating System: Linux 2.6.31 PHP Version: 5.3.3 New Comment: change the bug kind Previous Comments: ------------------------------------------------------------------------ [2011-02-26 04:07:03] michole06 at sina dot com Description: ------------ I wanted to change the default extensions' install directory to another one, and the configuration has been changed successfully, but extensions were still installed under the default directory, not the new one. Reproduce code: --------------- $ pecl config-get ext_dir /home/michole/php5/lib/php/extensions/no-debug-non-zts-20090626 $ pecl config-set ext_dir /home/michole/php5/module system config-set succeeded $ pecl config-get ext_dir /home/michole/php5/module $ pecl install apc $ pecl list Installed packages, channel pecl.php.net: ========================================= Package Version State APC 3.1.6 stable xdebug 2.1.0 stable Expected result: ---------------- The package apc should be installed under the new directory "/home/michole/php5/module". Actual result: -------------- The package apc were installed under the default directory "/home/michole/php5/lib/php/extensions/no-debug-non-zts-20090626". ------------------------------------------------------------------------ -- Edit this bug report at http://pecl.php.net/bugs/bug.php?id=22570&edit=1