Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need to add gd and mysql to PHP.
Date: Tue, 24 Jul 2007 08:53:27
Message-Id: 20070724104750.aaac6bbc.hilse@web.de
In Reply to: Re: [gentoo-user] Need to add gd and mysql to PHP. by Mike Diehl
1 Hi,
2
3 On Mon, 23 Jul 2007 18:50:52 -0600 Mike Diehl <mdiehl@××××××××.com>
4 wrote:
5
6 > On Monday 23 July 2007 06:32:53 pm Norberto Bensa wrote:
7 > > Mike Diehl wrote:
8 > > > drwxr-xr-x 4 root root 4096 Jul 23 17:59 apache2-php5
9 > >
10 > > There you have it ;-)
11 > >
12 > > Look inside...
13 >
14 > Well, I'm getting closer, then.
15
16 Errm, yes, sorry, I didn't really look before writing "php*".
17
18 > I looked inside the php.ini file in the apache2-php5 directory. It
19 > has an extension_dir line:
20 >
21 > extension_dir
22 > = /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20041030
23 >
24 > I looked at the contents of this directory:
25 > # ls -la /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20041030
26 >
27 > And this is all I saw:
28 > -rwxr-xr-x 1 root root 12744 Jun 23 2006 phpcups.so
29 >
30 >
31 > So, how do I install the php mysql extension?
32
33 Hm, is this an old extension dir? My Zend-ABI-version for PHP (5.2.1)
34 is 20060613.
35
36 But it should not matter -- you emerged PHP with the "sharedext" USE
37 flag unset. In that case, those extensions should be compiled into the
38 PHP binary, rather than being shared objects in the mentioned extension
39 path. So first do as Noberto sugested and check if the extension really
40 is not enabled (what is it that makes you think so?).
41
42 -hwh
43 --
44 gentoo-user@g.o mailing list