Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52677 - php-sapi.eclass: dbx enhancement
Summary: php-sapi.eclass: dbx enhancement
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 04:49 UTC by Christian Andreetta (RETIRED)
Modified: 2004-06-27 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
php-sapi.eclass patch: dbx IUSE flag (php-sapi.eclass.patch,1.32 KB, patch)
2004-06-01 04:51 UTC, Christian Andreetta (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Andreetta (RETIRED) gentoo-dev 2004-06-01 04:49:32 UTC
phpBB (and I suspect more packages) which use database backends could not support entirely the dbx api. In some cases, it is required to disable dbx entirely.
In php-sapi.eclass, dbx is compiled by default if use flags activates support for some form of db.
This patch simply declares a private IUSE 'php-no-dbx', which will permit db support without dbx.
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2004-06-01 04:51:00 UTC
Created attachment 32439 [details, diff]
php-sapi.eclass patch: dbx IUSE flag
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-01 20:26:27 UTC
rather than try to avoid the problem, lets see about fixing it.
could you describe the problem you see with phpBB? (I don't use it myself)
Comment 3 Christian Andreetta (RETIRED) gentoo-dev 2004-06-03 01:44:38 UTC
configuration: php, mod_php, apache2, postgresql (latest stables in gentoo), phpBB Tried to change some use flag, but error remains: this is something like
"The PHP configuration on your server doesn't support the {dat,source,database}
On this offcial forum, I found phpBB does not support dbx: http://www.phpbb.com/phpBB/viewtopic.php?t=183882&highlight=#1039379

That lead to the suggestion to change the eclass: with 'php-no-dbx', all errors are gone. Alas, since i'm not a php guru, i don't know what is left behind without dbx abstaction api. I know gentoo forums are phpbb based. What do you use as backend?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-27 16:43:11 UTC
just configure your phpBB to use mysql or postgres and not DBX.