Gentoo Archives: gentoo-user

From: Mike Diehl <mdiehl@××××××××.com>
To: gentoo-user@l.g.o
Cc: Norberto Bensa <nbensa@×××××.com>
Subject: Re: [gentoo-user] Need to add gd and mysql to PHP.
Date: Tue, 24 Jul 2007 03:41:05
Message-Id: 200707232135.22775.mdiehl@diehlnet.com
In Reply to: Re: [gentoo-user] Need to add gd and mysql to PHP. by Norberto Bensa
1 On Monday 23 July 2007 07:05:21 pm Norberto Bensa wrote:
2 > Mike Diehl wrote:
3 > > So, how do I install the php mysql extension?
4 > >
5 > > Thanx again,
6 >
7 > You don't. Just emerge php with mysql, and whatever USE flags you want.
8 >
9 > Best regards,
10 > Norberto
11
12 Well, I got rid of php with:
13
14 emerge -C php
15
16 Then I re-emerged php and got php5 installed with this use flag:
17
18 USE="apache2 berkdb cli crypt gd gdbm iconv imap ipv6 mysql ncurses nls pcre
19 posix postgres readline session snmp sqlite ssl unicode xml
20 zlib -adabas -bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp
21 -ctype -curl -db2 -dbase -dbmaker -dbx -debug -discard-path -doc -empress
22 -empress-bcs -esoob -exif -expat -fastbuild -fdftk -filepro -firebird -flatfile
23 -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hyperwave-api -informix
24 -inifile -interbase -iodbc -java-external -java-internal -kerberos -ldap -libedit
25 -mcal -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql -oci8
26 -oci8-instant-client -odbc -oracle7 -overload -pcntl -pfpro -pic -recode -sapdb
27 -sharedext -sharedmem -sockets -solid -spell -suhosin -sybase -sybase-ct -sysvipc
28 -threads -tokenizer -truetype -wddx -xmlrpc -xpm -xsl -yaz -zip" 0 kB [0]
29
30 This output shows that I have mysql and gd included. But I still don't have
31 mysql or gd support.
32
33 What else can I do?
34
35 --
36 Mike Diehl
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Need to add gd and mysql to PHP. Norberto Bensa <nbensa@×××××.com>