Search code examples
phppostgresqlgentoo

Gentoo Install php with postgresql and pdo with postgresql


I've already installed php and now I want to install postgresql support in php. I've added postgres and pgsql in my /etc/make.conf and /etc/portage/package.use But still php is being compiled with --without-pdo-pgsql


Solution

  • You're guessing the USE flags. The one you need to enable is postgres. Install and run ufed to see the full list of valid USE flags.