Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141875 - phpmyadmin needs php with pcre useflag
Summary: phpmyadmin needs php with pcre useflag
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 03:47 UTC by Jens Weibler
Modified: 2006-07-27 04:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Weibler 2006-07-27 03:47:02 UTC
phpmyadmin needs a php with the pcre useflag - otherwise you get "Fatal error: Call to undefined function: preg_replace()"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 04:02:32 UTC
<snip>
 if ! PHPCHECKNODIE="yes" require_php_with_use pcre session unicode \
                || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
                eerror
                eerror "${PHP_PKG} needs to be re-installed with all of the following"
                eerror "USE flags enabled:"
                eerror
                eerror "pcre session unicode"
                eerror
                eerror "as well as any of the following USE flags enabled:"
                eerror
                eerror "mysql or mysqli if using dev-lang/php-5"
                eerror "mysql if using dev-lang/php-4"
                eerror
                die "Re-install ${PHP_PKG}"
        fi
</snip>
Comment 2 Jens Weibler 2006-07-27 04:06:19 UTC
I have got another php-version (php5) with pcre installed - that was the reason :(