Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141875

Summary: phpmyadmin needs php with pcre useflag
Product: Gentoo Linux Reporter: Jens Weibler <gentoo-bugzilla>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

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 :(