View previous topic :: View next topic |
Author |
Message |
sanrou n00b
Joined: 10 May 2004 Posts: 31
|
Posted: Tue May 18, 2004 1:30 am Post subject: enabling mysql support in php |
|
|
I first emerged apache + php + mod_php, then mysql, but i found my php was installed without mysql support. My question is:
Instead of re-emerge php with USE="+mysql", is there any quick way to just enable mysql support for my existing php installation?
Thanks, |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue May 18, 2004 1:33 am Post subject: |
|
|
No there is no way to do that except via USE flags.
Note that you do not enable an USE flag by doing USE="+mysql", for example. The plus sign is an error. You simply write (note, no +). Yes, you disable them by adding a dash in front, but you don't need a plus sign to enable them. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
sanrou n00b
Joined: 10 May 2004 Posts: 31
|
Posted: Tue May 18, 2004 3:11 am Post subject: |
|
|
hmm..., just did
Code: | USE="mysql" emerge php |
but no go! phpinfo() still shows --without-mysql, maybe i should go
Code: | USE="mysql" emerge mod_php? |
any ideas? or maybe i should go one step further by
Code: | USE="mysql" emerge apache php mod_php mysql |
by the way, do i do unmerge first in each case?
thanks, |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Tue May 18, 2004 6:40 am Post subject: |
|
|
you need
Code: | USE="mysql" emerge php mod_php |
apache isn't affected by the mysql USE tag but php and mod_php are. You can check which USE tags come into play for an ebuild by doing
Code: | emerge -pv php mod_php |
This will list all the USE tags that can be used for those ebuild with active ones in red and inactive ones in blue. |
|
Back to top |
|
|
|