Re: Installing extensions
| From: | Daniel Brown | Date: | Mon, 19 Sep 2011 14:03:02 +0000 |
| Subject: | Re: Installing extensions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314937@lists.php.net to get a copy of this message | ||
On Sun, Sep 18, 2011 at 15:21, tamouse mailing lists
<tamouse.lists@gmail.com> 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
>
> Any clues will be greatly appreciated!
You have to add the extensions to your php.ini file, and - if
using them on the web - remember to restart Apache.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/