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: Mon, 23 Jul 2007 09:09:44
Message-Id: 20070723110405.b4fa4eee.hilse@web.de
In Reply to: [gentoo-user] Need to add gd and mysql to PHP. by Mike Diehl
1 Hi,
2
3 On Sun, 22 Jul 2007 21:37:58 -0600 Mike Diehl <mdiehl@××××××××.com>
4 wrote:
5
6 > I'm needing to update php to include both the gd and mysql extensions.
7 >
8 > I believe I have both packages installed.
9 >
10 > I emerged php with both extensions in my USE flag.
11 > [...]
12
13 Looks alright.
14
15 > How do I get these to be recognized by php applications?
16
17 They should be configured in /etc/php/php*/php.ini if you want to load
18 them automatically (extension=mysql.so, extension=gd.so) -- maybe you
19 just need to run etc-update? (and restart the webserver)
20
21 OTOH, you can have your PHP scripts load the extension themselves using
22 dl() in PHP.
23
24 -hwh
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Need to add gd and mysql to PHP. Mike Diehl <mdiehl@××××××××.com>