Does PECL install modify my php.ini? or even look at it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

I installed an extension via PECL and it seems to have plopped the extension into it's own extension directory instead of the one in my PHP.ini file.

   > pecl install memcache
   /usr/lib/php/extensions/no-debug-non-zts-20050922/memcache.so

But my PHP.ini file says to use:

   > grep extension_dir php.ini
   extension_dir = "/www/webaps/phpext"

So, I'm guessing that pecl installs where it wants to install and just ignores my php.ini settings? Well, if I install a new extension, do I still need to edit the php.ini by hand and tell PHP where to find it?

   > grep memcache php.ini
   extension=memcache.so

Since the newly installed memcache.so extension was placed into that other directory '/usr/lib/php/extensions/no-debug-non-zts-20050922/', will PHP find it automatically? Is there an 'include and activate all pecl-installed extensions' directive which is being run before or after my INI settings?

Dante

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux