Re: Installing extensions

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

 



On Sun, Sep 18, 2011 at 8:21 PM, tamouse mailing lists
<tamouse.lists@xxxxxxxxx> wrote:
> I'm having a bit of trouble installing PHP extensions.
>
> I have the following in php.ini:
>
>  extension_dir =
> ".:/usr/local/lib/php/extensions:/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
>
> In /usr/local/lib/php/extensions/no-debug-non-zts-20090626, i have the
> following:
>
>  -rwxr-xr-x  1 root  wheel   25652 Sep 18 13:04 geoip.so*
>  -rwxr-xr-x  1 root  wheel  115536 Jul 13 16:55 iconv.a*
>  -rwxr-xr-x  1 root  wheel   40556 Jul 13 16:55 iconv.so*
>
> but if I do php -i | grep -E '(iconv|geoip)' , i get nothing.
>
> So apparently the extensions aren't being added as I thought.
>
> System info:
>  Mac OSX 10.5.8
>  php 5.3.6

"extension_dir" controls where PHP looks for extensions that _could_
be dynamically loaded.

It does not dictate which extensions it loads at startup - that's "extension".

http://php.net/manual/en/ini.core.php

http://www.php.net/manual/en/install.pecl.intro.php

--
Benjamin Hawkes-Lewis

-- 
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